If your mouse cursor does not lock to a game on Windows 11/10, Enable LUA, Update or reinstall the Mouse and Touchpad driver, Disable Mouse Precision, etc.