To remove the lock screen on Windows 8/10/11, it requires a changing a few different power settings and a registry hack. Navigate to this registry location and edit the “Attributes” key below, then head to the Control Panel Power Options applet to change the “Console lock display off timeout” settings.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7\
Attributes=0x00000002
Control Panel > Power Options > Plan Settings > Change advanced power settings > Console lock display off timeout=Setting: 0 Minutes
