Gitlab Repo to Read Only

Can some one let me know how to switch GitLab repo to readonly.