Step 1: Type in to the search box Command. Right click on command and choose to run as an Administrator.
Step 2: Type the following command and press Enter:powercfg.exe /SETDCVALUEINDEX SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 600
Important: You must change “600” in the command-line with the timeout time you want to use, in seconds. In this example 600 seconds = 10 minutes.
Step 3: Type the following command and press Enter:powercfg.exe /SETACTIVE SCHEME_CURRENT