I haven't found any config or module that disables this, but I think your problem could be handled differently.
Since the ability to change the project key is limited to users with global admin rights, this usually isn't a problem in our implementation. We user the Project Creator plugin to allow non-admins to create projects from templates, which leaves them with admin rights in their project with the Administrator project role without giving them global admin rights.
This makes everyone happy, and there are fewer occasions for non-expert users to mess up the implementation by only giving global admin permissions to the select few who actually know what they're doing.
Hope this helps.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs