Hi,
You mentioned that the issued occurred about the last month.
Firstly, check for update. If you could find new security updates, please install them to check.
Then you could create a new user account. Log on the new user account to check if the issue still insists. This could make sure your have a new user profile.
At last, you could modify the registry below:
- Go to start and type regedit.exe.
- Navigate to the following location: HKEY_CURRENT_USER\Control Panel\Desktop.
- Double click the 'ForegroundLockTimeout' key. Change the notation to decimal.
- The default value should be 200000 millisecond in decimal, or 200 seconds. Click OK.
- Restart your computer
Hope this helps and please help to accept as Answer if the response is useful.
Best Regards,
Carl