A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
I'm relatively new to unity too, so this is probably not the best solution. It works though :)
// Ensure the cursor is always locked when set