How to lock the screen on Xiaomi when calling: all the ways (including hidden)

Have you ever encountered a situation where, while talking on the phone Xiaomi accidentally press buttons on the screen? This leads to the turn on speakerphone, transfer the call to hold or even reset. Especially relevant problem for smartphone owners with curved screens (for example, Xiaomi 13 Ultra or Redmi K60 Pro), where the sensor responds to touches with the cheek or ear. In this article, we will examine all possible ways to lock the screen during calls, from standard MIUI functions to hidden settings and third-party applications.

It is important to understand that locking the screen when calling works differently than a normal locking device, which is to turn off the sensor response to touch, while maintaining the ability to control the call through physical buttons (volume, lock).We have tested all methods on current versions of MIUI 14 and MIUI 15 (including HyperOS for new models), so the instructions will work on most Xiaomi, Redmi and POCO devices from 2020-2026.

If you’re using a smartphone older than 2019 (like the Redmi Note 7 or Mi 9), some features may be missing due to the outdated version of MIUI.

1. Enable screen locking through MIUI settings

The easiest way is to activate the built-in "Clock Screen During Calling" feature, which is available on most Xiaomi devices with MIUI 12 and later.

  1. Open the Settings app (cog icon).
  2. Go to the Appendix section β†’ Application settings β†’ Calls.
  3. Select Lock screen during call (or Ban random taps on some models).
  4. Activate the switch.

After that, the screen will automatically lock when the handset is raised, but the volume and lock buttons will remain active. Note: some firmware may call this feature differently, for example:

  • πŸ“± Nana POCO F5 Xiaomi 12T: Settings β†’ System system β†’ Additionally. β†’ Blocking when calling.

⚠️ Note: Some models (e.g. Xiaomi 11 Lite) NE) This is a function that's unstable, and the screen can unlock when you touch the ear.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi (Note, K-series)
POCO (F, X-series)
Xiaomi (digital series)
Black Shark
Other

Configuring the proximity sensor (proximiti)

If the built-in lock is not working or is not working properly, the problem may lie in the proximity sensor, which detects when you hold the phone to your ear, and must automatically turn off the touch screen, and if it is faulty or incorrectly calibrated, the screen will not lock.

To check and adjust the sensor:

  1. Enter the code ##6484## (sensor test) in the phone number dialer.
  2. Select Proximity Sensor (approximation sensor).
  3. Cover the sensor (usually located next to the front camera) with your hand – the value should change from 5.00 to 0.00.
  4. If the values do not change, the sensor is defective (repair required).

If the sensor is working but the screen is not locked, try calibrating it manually:

  • πŸ› οΈ Install Sensor Calibration from Google Play.
Xiaomi modelTypical sensor locationFrequent problems
Redmi Note 10/11/12Right of the front camera.False positives in bright light
Xiaomi 12/13/14Under the display (invisible)Not working after MIUI update
POCO F3/F4/F5Left of the front camera.Slow reaction to approach
Black Shark 4/5Over the front camera.Do not block the screen in games

πŸ’‘

If the proximity sensor doesn't work after the phone falls, check the integrity of the screen plume. Often the problem is solved by replacing the display module.

3.Using the "In the pocket" mode

A little-known way to lock the screen during calls is to activate Pocket Mode, which turns off the touch screen when the phone is in a closed space (pocket, bag), but it can be adapted for calls as well.

How to turn on:

  1. Go to Settings β†’ Screen β†’ Mode β€œIn your pocket”.
  2. Activate the function.
  3. Enable the option to Lock the screen when you call (if available).

If there is no such option, you can use the workaround:

  • πŸ“± During the call, quickly press the power button to turn off the screen (the phone will remain in "In your pocket" mode").
  • πŸ”• To unlock, press the power or volume button.
  • ⚠️ The disadvantage of the method: the microphone can become muted if the phone is pressed tightly to the ear.

Make sure the light sensor is working.|Turn off magnet covers|Check the sensitivity in the settings|Restart the phone after the mode is turned on-->

4.Blocking the screen with gestures

On Xiaomi smartphones with MIUI 13+, you can set up a lock gesture during a call, which is convenient if you don’t want to dig into the settings, but are willing to remember a simple movement.

Instructions:

  1. Open the settings β†’ Screen β†’ Gestures.
  2. Choose Double Touch to lock (or Swipe down with two fingers on new models).
  3. Activate the function and test it during the test call.

Advantages of the method:

  • βœ… It works on all models with MIUI 12–15.
  • βœ… Does not require root rights or third-party applications.
  • βœ… It can be combined with other methods.

Disadvantages:

  • ❌ You need to remember the gesture and have time to perform it before accidentally pressing.
  • ❌ On some firmware, the gesture may conflict with other functions (e.g. screenshots).
How do I turn off conflicting gestures?
If double-touch locking doesn't work, check settings in Settings β†’ Additional β†’ Special Features β†’ Gestures. Turn off touch to stop and gesture to screenshot if they're active.

5. Third-party applications for screen locking

If built-in methods don't work, you can install specialized applications, and they offer advanced settings, including forcing the screen to lock when you make calls, turning off the sensor when you approach the ear, and even turning on the speakerphone automatically.

Top.-3 tested applications:

AnnexFunctionsCons
Proximity Sensor FixSensor calibration, forced screen lockingRequires root for some functions
Call Screen OffAutomatically turn off the screen when calling, set up delayAdvertising in the free version
Gravity ScreenLocking on the proximity sensor and accelerometerDifficult settings for beginners

How to set up Call Screen Off (the easiest solution):

  1. Install the app from Google Play.
  2. Open it and grant permissions to Calls and Overlays over other applications.
  3. Turn screen off on call option.
  4. In Delay, set a delay of 1-2 seconds (to receive the call).

⚠️ Note: Some applications (e.g., Proximity Sensor Fix) require root rights to work properly, without which they can only emulate locking, which is less secure.

6. Alternative methods for older models

If you have a Xiaomi smartphone on MIUI 10–11 (e.g. Redmi Note 8, Mi A2), you may not have a built-in screen lock feature when calling.

  • πŸ”§ Disable the sensor through ADB: adb shell settings put global block_untrusted_touches 1 This command disables touch response during calls, but requires customization ADB.
  • πŸ“΄ Using a physical button: Take the call, then quickly press the power button to turn off the screen. To return the screen, press the button again.
  • πŸ”„ Firmware rollback: On some models (e.g. Mi 9) SE) The screen lock function worked in MIUI 10 but disappeared after updating to MIUI 11.You can return the old firmware version (but it's risky!).

On Xiaomi smartphones with Qualcomm processors (such as the Redmi Note 9 Pro), you can activate the hidden lock function through the engineering menu. To do this, type in the dial ##36446337#, then go to Hardware Testing β†’ Proximity Sensor β†’ Auto Screen Off and turn on the option.

If nothing works, the last option is to use a headset or Bluetooth headphones, in which case the phone screen will not be active during the conversation, as the call management goes to the communication device.

πŸ’‘

On older Xiaomi models (before 2019), screen locking is often implemented at the firmware level. If the MIUI update has removed this feature, try installing custom firmware (like LineageOS or Pixel Experience).

FAQ: Frequent questions about screen locking when calling

Why is the screen not locked when you call, even though the feature is enabled in the settings?
The reasons may be as follows: πŸ”Ή Approximation sensor is faulty (check it with ##6484##). πŸ”Ή Left-handed mode is enabled (turn off in Settings) β†’ Additionally. β†’ Special facilities). πŸ”Ή Conflict with a cover or protective film covering the sensor. πŸ”Ή Firmware failure (try resetting your phone settings).
Can I lock the screen when calling without turning off the microphone?
Yeah, but it depends on the method: πŸ”Ή Built-in function MIUI (Locking the screen during a call does not turn off the microphone. πŸ”Ή In your pocket, the microphone can be muted if the phone is pressed tightly to your ear. πŸ”Ή Third-party apps (like Call Screen Off) don't usually affect the microphone.If the microphone is turned off, check the Noise Reduction settings in Settings β†’ Sound. β†’ Quality of calls.
How to return the screen lock after the MIUI update if the function is lost?
Try the following steps: Reset the Phone app settings to Settings β†’ Apps β†’ App management β†’ Phone β†’ Storage β†’ Reset. Install Google Phone (the official Google Call app) from Play Market β€” it has a built-in screen lock. Reverse to the previous version of MIUI via Settings β†’ About Phone β†’ System Update β†’ Three Points β†’ Select a Service Pack.
Does screen locking work when calling via WhatsApp or Telegram?
No, built-in function. MIUI The screen is blocked only when calling (through the normal phone). SIM-You need messengers: πŸ”Ή WhatsApp: Use a headset or headphones. πŸ”Ή In Telegram: enable the option to Lock the screen in the call settings (if available). πŸ”Ή Install a third-party app like Call Screen Off that works with VoIP calls.
Can you set up automatic screen locking for specific contacts only?
In standard settings MIUI There is no such function, but workarounds can be used: πŸ”Ή Create an automatic rule in MacroDroid or Tasker (requires customization). πŸ”Ή Assign a unique ringtone to contact and use an app that locks the screen when it is played. πŸ”Ή For business contacts, use the second one. SIM-slot with separate lock settings.