Hello and welcome to the Microsoft Community!
According to your feedback, you are playing the game Roblox, the mouse can not lock the problem, you can try the following actions
A) Clean start
***Clean Start can help you troubleshoot if your computer is malfunctioning due to third-party software***
The method is as follows
- Tap Windows+R and type msconfig
- Open System Configuration and select General tab - Selective Startup.
- Remove the checkmark of Load Startup Items.
- Go to the Services tab - click Hide all microsoft services in the lower left corner, and then click Disable all.
- Click OK and restart your computer. (Be sure to select Hide all microsoft services first and then click Disable all, otherwise it may lead to unforeseen problems such as not being able to access the system.)
- Check to see if the problem still recurs.
DISCLAIMER: Clean Boot is a way to start Windows with a minimal set of drivers and startup programs so that you can determine if background programs are interfering with your games or programs and help you figure out the cause of the problem. It will help you get back on track.
B) Create a new local account
***New Account can help you troubleshoot if the error is due to a configuration problem on the computer itself***
Please refer to the following link for the method of creating a new local account:
Create a local user or administrator account in Windows - Microsoft Support
C) Try to repair your system
- Search for CMD, find the command prompt, and choose to run in administrator mode.
- Enter the following commands one by one, please make sure to execute the next command after the previous one is completed.
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth
SFC /Scannow
- After the scan is complete, you can check the scanning information to see if the problem has been detected and fixed.
If the above methods have no effect, you can try to re-download the game, or go to the official website of the game feedback, seek the official support of the game can help you solve the problem.
We hope the above information is helpful to you, feel free to give us your feedback on anything!
Kirito|Microsoft Community Support Specialist