You can give an individual or team in your organization the ability to block and limit access, by assigning them to the moderator role.| GitHub Docs
You can temporarily enforce a period of limited activity for certain users on a public repository.| GitHub Docs