The Turn Off the Display (On Battery) machine setting should be configured correctly.
Specifies the period of inactivity before Windows turns off the display. If you enable this policy, you must provide a value, in seconds, indicating how much idle time should elapse before Windows turns off the display. If you disable this policy or do not configure it, users can see and change this setting.
F ...