Unity Game Window Shows Lock Cursor (Hit 'Esc' to unlock) permanently

This is probably a stupid question but the button to lock the cursor so I can test my game in the editor properly always shows and will not go away - pressing it moves the cursor to the center of the screen but doesn’t lock it. Was working fine earlier and I have added no new scripts?
Anyone have any idea?

Thanks in advance

Without your code for the button I can only assume, and you’ve probably heard who that makes an ass out of.

What are you using to lock the cursor? How is the button drawn? Does it use the new UI or the old “if(GUI.Button)” system?