Usually, when the mouse right-click does not work on Windows, you can try fixes, like updating or reinstalling the mouse drivers, checking add-ins, running the hardware and Devices Troubleshooter, ...
Use the following fixes if your mouse pointer is stuck in the corner of the screen in Windows 11/10. This is the easiest fix. Restarting a computer helps fix many common issues, like the one you are ...