Some Run Commands:

default

 
# Dell Windows 10 power setttings are ignored when locked
# and putting computer to sleep.

## Solution
# Win+R -> regedit -> (hit enter)
# Find this registry folder and set the Attributes key
# from 1 to 2
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7

# Right click Attributes and change 1 to 2
# Attributes REG_WORD 0x00000001 (1)
# to
# Attributes REG_WORD 0x00000002 (2)

# Now go to control panel
# Win+r -> control -> (hit enter)
# Power options -> Change plan settings -> Change advanced power settings ->
# Display -> Console lock display off timeout -> Plugged in: 60 -> Apply/OK

# Freaking set to 1 minute by default!
# No one at microsoft locks there computer?
# Possibly they are still used to rebooting their computer
# everytime they get up...

default