Or you use a computer normally but the screen becomes black accidentally.

How to stop monitor from going to sleep in Windows 10?

you could fix this issue with the following troubleshooting tips.

Windows 10 Keeps Going to Sleep? 4 Useful Solutions Are Here

If the connecting cable is loose or damaged, your monitor goes to sleep when plugged in.

Just go to power off the system, and then check the video cable & ports.

Besides, unplug any external devices to your machine since they may conflict with the machine.

run hardware and devices troubleshooter

Running Windows built-in troubleshooting software may be helpful to fix some issues.

The monitor screen seems to go to sleep mode.

So, you could choose to disable this feature.

change screen saver

To do this, you might go to machine Manager, right-nudge the display driver and chooseUpdate driver.

Then, finish the operations by following the on-screen guide.

Or, you could use a professional driver update tool to do this work.

How to Update Drivers in Windows 11? Try 4 Ways Here!

How to update drivers in Windows 11 to fix some errors or improve PC performance?

This post gives you some efficient methods for driver update.

Often, your monitor goes to sleep when plugged in.

change plan settings

To get rid of this situation, go to change the prefs in Windows 10.

By default, it is invisible and you better let it visible via changing Windows Registry.

Then, go to increase System unattended sleep timeout.

edit Windows Registry

If you are encountering it, take it easy and try these methods in this post now.

increase System unattended sleep timeout