Recently, miracles have been happening with the computer ...
I reset Windows 10 to its initial state twice and it was no improvement.

I'm fed up with Windows 10 and installed Windows 7.
I thought it was the fault of the system and that it would be better ... I was wrong.
Every now and then the monitor goes into sleep mode and some error with the graphics driver pops up. Sometimes it goes into standby and then restarts. Maybe the problem is in the GPU drivers?