Changing the Windows registry as explained below will not harm your rig.

Right-clickWindowsfrom the left pane and then chooseNew>Key.

Right-click that new key and selectNew>DWORD (32-bit) Value.

Laptop showing the Windows 10 lock screen

Kari Shea / Unsplash

Name the keyNoLockScreen, and then double-click it and change its value to1.

Wondering if it worked?

PressWin+Lto lock your PC.

Search results for ‘regedit’ on Windows 10

Expand theComputer Configurationgroup on the left and then double-clickAdministrative Templates.

Continue by openingControl Panel>Personalization.

Double-clickDo not display the lock screenon the right.

Creating a new registry key in Windows 10

ChooseEnabled, and then selectOK.

To re-turn on the lock screen in Windows 10, repeat these directions, but chooseDisabledat the last step.

Creating a new DWORD value in Registry Editor for Windows 10

NoLockScreen registry value in Windows 10

gpedit.msc command typed into the Run box in Windows 10

Personalization folder selected in Local Group Policy Editor in Windows 10

Local Group Policy Editor open to lock screen management in Windows 10