Hi!
If you are referring to automatically turning off the screen, press Windows + R > Type control powercfg.cpl > Click Change plan settings > Adjust the time for Turn off the display and Put the computer to sleep.
- You can also do this by opening Windows Settings > System > Power > Screen, sleep, and hibernation timeout.