Windows comes with a hidden option in the Windows Registry to change that. The display gets turned off in locked system state even if you have configured Windows to never turn off the display when the device is connected to a power source. Windows turns off the display after 60 seconds when the system gets locked regardless of power settings.