In Windows 10, you can disable the lock screen in two ways. Let’s find out what they are.
Navigate to the Computer Configuration > Administrative Templates > Control Panel > Personalization.
Then double-click “Do not display the lock screen” in the right pane.
Hit the OK button.
Note: In order to enable it, follow the steps above but select Not Configured or Disabled.
Expand HKEY_LOCAL_MACHINE > SOFTWARE > Policies > Microsoft.
Right-click on “Windows.” Select New > Key.
Hit the “Enter” key after entering the name as Personalization.
Then right-click on the empty space in the right pane and select New > DWORD (32-bit) Value.
Press the “Enter” key after you enter NoLockScreen as the name.
Double-click on it and enter 1 in the “Value data” field. Click the “OK” button.
Note: To enable the lock screen, remove the DWORD you created earlier or replace the 1 with 0.