Ctrl + M is "clip mouse to screen". To hide the cursor, press Shift + Z. https://en.lfsmanual.net/wiki/Keys