Disable Changing Username and Name

I am currently syncing the gitlab users with a drupal installation through the api interface. The drupal site handles the name, username, and all other fields and passes them via the api.

Is there a way to disable the editing of these fields on the gitlab profile page so that I can maintain a centralized system?

You can disable username/group editing in https://gitlab.com/gitlab-org/gitlab-ce/blob/45ca39e81bf857cdb58b1a184b8fab0e56c200f7/config/gitlab.yml.example#L57

or https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template#L19 if you are using omnibus.

Is there possibility to disable changing “name” field in gitlab?

It would seem there isn’t. Only the username_changing_enabled configuration option is available by the looks of it.