Here are four solutions for you to stop Windows from locking automatically.
If you are bothered by this problem, try these methods.
you’ve got the option to attempt to disable auto lock in Windows by changing the Power tweaks.

Step 1: PressWin + Ito open Windows configs.
Step 2: SelectSettings, then go to thePower & sleeptab.
Step 3: On the right pane, chooseNeverfrom the drop-down menu under theSleepsection.
![]()
Turning off a monitor with the keyboard is convenient and power-saved.
If you dont know how to do it, come to this post to find answers.
Method 2: Turn Off Sign-in and Dynamic Lock
Step 2: SelectAccount>Sign-in options.

Step 3: it’s possible for you to chooseNeverfrom the submenu of theRequire sign-insection.
Step 4: Uncheck theAllow Windows to automatically lock your equipment when youre awayoption under theDynamic locksection.
After this, check whether the computer still turns off automatically.
![]()
What is a dynamic lock screen?
How to enable/suspend the dynamic lock screen in Windows, Android, or iOS?
This article offers a step-by-step guide respectively.

Method 3: Modify Windows Registry
The last method is to change the registry keys.
Windows Registry is an information base that contains crucial information about software, hardware, and the operating system.
you’re able to also change certain registry keys to adjust computer controls.

But be careful when you take a stab at delete or modify them.
Changes will be applied immediately and wrong operation might bring irreversible damage to your system.
Thus, you are advised toback up the registry keyas a saver.
Step 1: PressWin + Rto launch the Run window.
Step 3: Navigate toHKEY_LOCAL_MACHINE>SOFTWARE>Policies>Microsoft>Windows.
Step 4: Right-press the Windows and chooseNew>Keyto create a new folder in Windows.
Step 5: Rename this new folder asDisable autoLock.
Step 7: Change the name of this new subkey toNoLockScreen.
Step 8: Double-punch the subkey and change the Value data to1.
Step 9: hit theOKbutton to save the changes.
Afterward, start your box to fully apply the changes to your box.
Bonus Tip
Since digital data has become the main form of data storage and collection.
However, digital data is facing a greater risk of loss.
If needed, tryMiniTool Power Data Recovery freefirst to scan and recover up to 1GB of files.
Hope this post gives you useful information.