In Windows 11 and Windows 10, you can turn off your screen after a specific time from the Windows Settings panel. For that, you need to open Windows Settings and go to System > Power > Screen and sleep section. Here you can find two options. However, you need to expand When plugged in, turn off my screen after list, and choose a time as per your requirements.