The lock button on Xiaomi, Redmi and POCO smartphones is often a source of annoyance β especially when it is triggered accidentally during games, watching videos or reading. The manufacturer activates this feature by default to protect against unwanted clicks, but many users want to turn it off completely or at least reduce sensitivity. The problem is that standard MIUI settings do not have this option β it has to be searched for hidden menus or use technical workarounds.
In this article, we will discuss 5 proven ways to disable the lock button, including methods for different firmware versions (from MIUI 12 to MIUI 15).
- π§ Configure the sensitivity of the button through the hidden parameters of the developer
- π± Disable screen lock with gestures (for models with Always-On Display)
- π» Use it. ADB-commands for deep tuning (without root)
- βοΈ Return the standard behavior of the power button (if it has been changed)
- π Reset to factory settings if other methods have not worked
Before you start, consider that some methods require unlocking the bootloader or activating the developer mode. If you are not sure about your actions, skip the technically difficult steps and use only the safe ways in the first two sections.
1. Disable locking through screen settings (the easiest way)
If your smartphone supports Always-On Display (AOD) or Ambient Display, the lock button may duplicate the screen-off function, in which case it can be deactivated via the standard menu:
- Open the Settings β Screen.
- Select Screen Lock or Sleep Mode (depending on the MIUI version).
- Find the power button lock option and turn it off.
- Save the changes and restart the device.
β οΈ Note: On some models (e.g, POCO F4 or Redmi K50) This option can be called Power button Reaction or Accidental Press Protection. If it's not on the menu, move on to the next one.
π‘
If the lock button continues to work after disabling, check the settings of Google Assistant β sometimes the conflict arises due to the gesture βSqueeze to activate the assistantβ.
2. adjust the sensitivity of the button in the developer mode
Hidden MIUI settings allow you to fine-tune the power button response to presses.
- Activate Developer Mode: Go to Settings β About Phone. Click 7 times on the MIUI Version until you become a developer!
Additional settings β Developer parameters
Entering
Button sensitivity
Power button
Low.
Disconnected.
π Important: Xiaomi 13 Pro and POCO F5 Pro, this parameter may not be available. In that case, try an alternative path:
Settings β Special features β Physical buttons β Sensitivity of the power buttonWhy canβt the lock button be turned off?
3. Disable blocking through gestures and additional functions
If the lock button is triggered due to conflict with other gestures (e.g. Double Tap to Wake or Raise to Wake), it can be βcheatedβ by alternative settings:
- π Turn off the lift to wake up: Settings β Screen. β Raise to wake up.
- βοΈ Deactivate Double Touch: Settings β Screen. β Double touch to wake up.
- π Set up screen timeout: Increase time to automatically shut down in Settings β Screen. β Sleeping mode.
On the Redmi Note 12 and later, the lock button may conflict with the Game Turbo feature β check the game mode settings if the problem only manifests itself in games.
| Xiaomi model | Conflicting function | Decision |
|---|---|---|
| POCO X3/X4 | "Squeeze for screenshot" gesture | Disable in Settings β Additional β Buttons |
| Xiaomi 12T/13 | Always-On Display | Disable AOD or reduce timeout |
| Redmi 10/11 | Google Assistant (button retention) | Reassign the action in the settings of the assistant |
4.Use of ADB for deep shutdown (advanced method)
If the standard methods do not work, you can apply ADB-This method does not require root rights, but requires a computer and USB-cable.
Install Mi Unlock Tool and Drivers|Enable debugging on USB developer-specific|Connect your phone to your PC and confirm trust|Download Platform Tools from Google-->
Instructions:
- Connect your smartphone to your PC and open the command line in the folder with adb.exe.
- Enter the command to check the connection: adb devices (should appear serial number of the device).
- Execute the command to disable the power button lock: adb shell settings put global power_button_end_call false
- For models with MIUI 14+ You may need to use the following command: adb shell settings put secure lock_screen_power_button_instant_lock 0
- Reset the device.
β οΈ Attention: Misuse of the right ADB If after completing the commands, the phone stopped responding to the power button even to turn on, reset via fastboot: fastboot reboot recovery.
5. Resetting settings to factory (extreme case)
If all the previous methods didn't work, and the lock button interferes with the work, the last option is a complete reset, which will delete all data from the device, so first:
- π Create a backup through Settings β Additionally. β Backup.
- π Write down your Mi Account details (required to unlock after resetting).
- π± Make sure the battery is at least 50 times charged%.
How to reset your settings:
- Go to Settings β About the phone β Reset settings.
- Select Delete all data.
- Confirm the action and wait for the reboot (it will take 5-10 minutes).
Once the lock button is reset, it will return to factory settings, if the problem was caused by a software failure, it will disappear, and if it is not, it may be a hardware malfunction (such as sticking a button or damaging a plume).
π‘
Resetting only helps in 60% of lock button conflicts, and if the problem persists, contact the service center to diagnose the physical button.
Frequent Mistakes and How to Avoid Them
Users often encounter typical problems when trying to disable the lock button, and here are the most common ones and ways to solve them:
- π "The lock button only works in games" β Turn off Game Turbo in game settings or add the game to exceptions.
- π "After the button was turned off, it stopped working completely" β Adb shell settings put global settings power_button_end_call true
- π± "Settings are reset after the update MIUI" β Repeat the setting through ADB Or use Magisk to fix the parameters (requires root).
If you use custom firmware (e.g. Pixel Experience or LineageOS), the power button settings may be in another menu. Look for them in Settings β System β Gestures or Buttons.