locking cursor for mouse movement and unlocking with ESC so you don't control the game from another program