Release a locked cursor by pressing the F key.
Locking the Cursor by Moving the Mouse Cursor Lock Functions Changing the Direction of the Snap Point of a Locked Cursor