If your Windows 11 laptop displays the “Locking” message and then powers off completely instead of just locking the screen, the issue usually comes from a power setting, a driver conflict, or a hardware trigger. This guide walks you through the most common fixes, from quick settings changes to driver updates, so you can restore normal lock behavior.
What You’ll Need
- Administrator access to your Windows 11 account
- An internet connection (for driver updates)
- Your laptop’s power adapter (for testing power-related causes)
Step-by-Step
1. Check Power Settings
Windows 11 has a setting that can turn off the display or put the PC to sleep when you lock it, but a misconfigured “power button” or “lid” action can cause a shutdown.
- Press Windows + I to open Settings.
- Go to System > Power & battery.
- Click Screen and sleep and set “On battery power, turn off my screen after” and “Plugged in, turn off my screen after” to a reasonable value (e.g., 5 or 10 minutes).
- Click Power & battery again, then select Lid and power button controls (if available) or go to Control Panel > Hardware and Sound > Power Options > Choose what closing the lid does.
- Ensure “When I press the power button” and “When I close the lid” are set to Sleep or Do nothing, not Shut down.
- Click Save changes.
2. Disable Fast Startup
Fast Startup can cause odd shutdown/lock behavior. Disabling it is safe and often resolves shutdown-related glitches.
- Open Control Panel > Hardware and Sound > Power Options.
- Click Choose what the power buttons do on the left.
- Click Change settings that are currently unavailable.
- Uncheck Turn on fast startup (recommended).
- Click Save changes and restart your laptop.
3. Update or Roll Back Display Drivers
A faulty graphics driver can cause the system to crash when the screen locks (which triggers a display power-off).
- Right-click the Start button and select Device Manager.
- Expand Display adapters.
- Right-click your graphics card (e.g., Intel UHD, NVIDIA, AMD) and choose Update driver > Search automatically for drivers.
- If no update is found, right-click again and choose Properties > Driver tab > Roll Back Driver (if the option is available).
- Restart your laptop after any change.
4. Run the Power Troubleshooter
Windows includes a built-in troubleshooter that can detect and fix power-related issues.
- Open Settings > System > Troubleshoot > Other troubleshooters.
- Find Power and click Run.
- Follow the on-screen instructions and apply any suggested fixes.
5. Check for Overheating or Hardware Triggers
If the laptop shuts down only when locking, it may be a hardware safety trigger (e.g., overheating or a failing battery).
- Feel the bottom of the laptop for excessive heat. If hot, clean the vents with compressed air and ensure the fan is working.
- Open Settings > System > Power & battery and check the battery health report (if available).
- Run Command Prompt as administrator and type
powercfg /batteryreportto generate a report. Open the HTML file to see the battery’s design capacity vs. full charge capacity. If the full charge capacity is below 40% of design, the battery may be failing.
6. Disable Hybrid Sleep (if enabled)
Hybrid sleep can sometimes cause a shutdown when the system tries to enter a low-power state.
- Open Control Panel > Hardware and Sound > Power Options.
- Next to your active plan, click Change plan settings.
- Click Change advanced power settings.
- Expand Sleep > Allow hybrid sleep and set both “On battery” and “Plugged in” to Off.
- Click Apply and OK.
7. Perform a Clean Boot
A third-party app (especially a security suite or a utility that manages power) may be interfering. A clean boot isolates the cause.
- Press Windows + R, type
msconfig, and press Enter. - On the Services tab, check Hide all Microsoft services, then click Disable all.
- On the Startup tab, click Open Task Manager and disable all startup items.
- Close Task Manager, click OK, and restart.
- Test locking (press Windows + L). If it works, re-enable services and startup items one by one to find the culprit.
Common Mistakes
- Skipping the power button/lid settings – Many users only check sleep timers, but the “power button action” can be set to “Shut down” even when the lid is closed.
- Assuming it’s a hardware failure immediately – Try software fixes first; overheating and battery issues are less common than driver or setting problems.
- Not restarting after driver updates – Driver changes often require a reboot to take effect.
- Disabling Fast Startup without checking other settings – Fast Startup is only one piece; the lid/power button settings are more directly related to the lock behavior.
Tips
- Test the lock function right after each fix (press Windows + L) to see if the problem is resolved before moving on.
- Keep your laptop plugged in while testing, as some settings behave differently on battery vs. AC power.
- If you recently installed new software or a Windows update, consider uninstalling it to see if the problem goes away.
- Use Event Viewer (search “Event Viewer” in Start) to check for critical errors around the time of shutdown. Look under Windows Logs > System for “Kernel-Power” events (Event ID 41).
Troubleshooting
If the laptop still shuts down after trying all the steps above:
- Check for BIOS/UEFI updates – Visit your laptop manufacturer’s support site, find your model, and download the latest BIOS. A BIOS update can fix power management bugs. Follow the manufacturer’s instructions carefully.
- Run System File Checker – Open Command Prompt as administrator and run
sfc /scannow. This repairs corrupted system files that might cause shutdown issues. - Create a new user account – If the issue only happens on your profile, a corrupted user profile may be the cause. Create a test account (Settings > Accounts > Other users) and see if locking works there.
- Check the power plan – Reset your power plan to default: Control Panel > Power Options > “Change plan settings” > “Restore default settings for this plan.”
- If all else fails – Back up your data and perform a Windows 11 repair install using the “Reset this PC” option (keep your files). This reinstalls Windows without removing personal files.
Frequently Asked Questions
Why does my laptop shut down instead of locking?
This usually happens because the power button or lid action is configured to “Shut down”, or because a driver (often the graphics driver) crashes when the display turns off. Check the power settings first, then update drivers.
Will disabling Fast Startup affect my laptop’s performance?
Fast Startup only speeds up boot time. Disabling it may add a few seconds to startup, but it won’t affect everyday performance, and it can resolve shutdown/lock issues.
Can a failing battery cause shutdown on lock?
Yes. If the battery can’t deliver enough power when the system transitions to a low-power state, the laptop may shut down. Check the battery health report (see Step 5) and consider replacing the battery if it’s degraded.
Is this a sign of malware?
Rarely, but malware can interfere with system processes. Run a full scan with Windows Defender (Settings > Privacy & security > Windows Security) to rule it out, especially if other fixes fail.
Should I update my BIOS to fix this?
If all software fixes fail, a BIOS update is a reasonable next step. BIOS updates often include power management fixes. Only download from your manufacturer’s official site and follow their instructions.
Will resetting Windows 11 definitely fix the problem?
It’s not guaranteed, but a repair install (Reset this PC with “Keep my files”) fixes corrupted system files and driver conflicts, which are common causes. It’s a last resort after trying the other steps.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Gmail Gemini Privacy: Data Access & Limit Settings
- Fix Outlook Inbox Corruption with DISM in Windows
- How to Set Up Apple Pay on iPhone
- How to Choose a Refurbished iPhone With Years of Support
- Voice Dictation in Google Docs: How to Use It
- Turn Off Message Notifications on Mac