The mouse pointer and cursor in Windows 11 and Windows 10 are very important aspects of the operating system. This can be said for other operating systems as well, so in truth, they are not unique ...
Drivers are the links between hardware ... Disabling Tablet Mode can bring back a disappearing cursor. If you are a Windows ...
Natively it is not possible to do that in Windows 11/10, but you can use a free tool named Lock Cursor Tools to lock the mouse cursor movement to a particular part of the desktop screen.