How to set a password for the application in Xiaomi: official and hidden methods

Protecting personal data on Xiaomiโ€™s smartphone is a challenge that has become increasingly relevant with the increasing amount of sensitive information in instant messengers, banking apps and social networks. Even if you trust others, random access to your phone can lead to leakage of photos, correspondence or financial data. Fortunately, MIUI firmware offers several built-in tools to block applications, and for advanced scenarios there are third-party solutions.

In this article, we will analyze three working methods: standard App Lock (not found on all models), creating a second space with a separate password and using third-party applications such as AppLock or Norton App Lock. Particular attention will be paid to the nuances of working on different versions of MIUI (from 12 to 15) and popular models - Redmi Note 12, POCO X5, Xiaomi 13T. If you are looking for a way to hide applications not only from outsiders, but also from the general list on the menu - here you will find a solution.

1. Method: Built-in App Lock in MIUI

The most obvious and safe method is to use the App Lock proprietary tool, which is sewn into the MIUI firmware. However, there is a caveat: on some models (especially budget or for the European market), this feature may be missing or hidden in the depths of settings.

  1. Open Settings โ†’ Applications โ†’ App Lock.
  2. If you donโ€™t have one, try the Settings path โ†’ Special Features โ†’ App Lock (relevant to MIUI 13-14).
  3. On older versions (MIUI 12), look for Settings โ†’ Privacy.

If App Lock is found, the algorithm of actions is as follows:

  • ๐Ÿ”’ Enter the main password from the lock screen (or create a new one if it is not available).
  • ๐Ÿ“ฑ Select the apps from the list you want to block (for example, WhatsApp, SberBank Online, Gallery).
  • โš™๏ธ In the additional settings (โ‹ฎ โ†’ App Lock settings) enable the โ€œHide Notificationsโ€ option so that the content of messages does not appear on the locked screen.
  • ๐Ÿ”„ Activate โ€œBlocking after rebootโ€, otherwise the protection will reset when the phone is turned off.

Make sure that the phone is installed PIN-code|

Check the version of MIUI (in Settings โ†’ About Phone)|

Update the firmware if App Lock is not available |

Backup important data in case of a failure-->

๐Ÿ’ก

If App Lock doesnโ€™t show up in the settings, try changing your phone region to India or China in Settings โ†’ Additional โ†’ Region. After the reboot, the feature may appear.

Important: App Lock only works when the primary password on the lock screen is turned on, and if you use a face unlock or fingerprint, the system can request them instead of a fingerprint. PIN-However, for maximum security, we recommend disabling biometrics for blocked applications in the App Lock settings. โ†’ Unlocking methods.

โš ๏ธ Note: On some models POCO (for example, POCO X3 Pro) App Lock may conflict with battery optimization. If apps unlock on their own, add App Lock to the exception list in Settings โ†’ Battery โ†’ Optimizing the battery.

2. Method: Second Space (Second Space)

If App Lock is not available or you don't like it, the alternative is to create a second space, a separate user profile with its own apps, settings and password, and the advantage of this method is that sensitive applications are physically isolated from the main space and not visible in the shared menu.

How to set up:

  1. Go to Settings โ†’ Special Options โ†’ Second Space (on MIUI 15, the path may differ: Settings โ†’ Accounts โ†’ Second Space).
  2. Click "Create a second space" and follow the instructions. The system will prompt you to copy data from the main profile or create a clean one.
  3. After creation, go to the second space through the notification panel (icon) ๐Ÿ‘ค top-down).
  4. Install or transfer the desired applications (e.g. Telegram, Tinkoff), then return to the main space.
  5. In the settings of the second space (Settings โ†’ Second Space โ†’ Login Settings), set a separate password that is different from the main one.
ParameterDescription
Data isolationApplications and files in the second space are not visible in the main (and vice versa).
Separate passwordWe can install another one. PIN-code.
NotificationsBy default hidden, but they can be enabled in the settings.
LimitationsSome system applications (e.g. Settings) are duplicated.
CompatibilityIt works on all models with MIUI 10+, except Black Shark.

The main advantage of this method is the complete isolation of sensitive data, even if someone gets access to the main space, they will not see the application from the second, disadvantaged by the inconvenience of switching between profiles and the need to duplicate some programs (for example, Google Play).

Built-in App Lock|

Second Space (Second Space) |

Third-party applications (AppLock, Norton) |

I'm not blocking apps |

Another way.-->

โš ๏ธ Note: When you delete the second space, all the data in it is irrevocably erased. Before reset, back up through Settings. โ†’ Second space โ†’ Backup.

Method 3: Third-Party Applications for Blocking

If you don't like the built-in MIUI tools, you can use third-party solutions.

  • ๐Ÿ” AppLock (from DoMobile Lab) โ€“ supports blocking by PIN-code, fingerprint and even self-unlock time/place.
  • ๐Ÿ›ก๏ธ Norton App Lock - a reliable solution from the well-known antivirus, with protection from resetting through settings.
  • ๐Ÿ“ฑ Smart AppLock โ€“ allows you to hide apps from the menu and block incoming calls.
  • ๐Ÿ” Hide App-Hide Application โ€“ specializes in masking applications under a calculator or other harmless software.

Instructions for setting up on the example of AppLock:

  1. Download the app from Google Play (link: https://play.google.com/store/apps/details?id=com.domobile.applock).
  2. When you first start, set a master password (save it in a safe place!).
  3. In the main menu, select the applications to block (for example, VK, AliExpress, Photos).
  4. In the settings (โ‹ฎ โ†’ Settings activate: ๐Ÿ”„ "Autolocking โ€“ for instantaneous locking when folding. ๐Ÿ“ด "Hide from recent" - so that blocked applications do not appear in the menu of the latest. ๐Ÿ”• "Fake glitch โ€“ shows an error when trying to open an app without a password.

Advantages of third-party applications:

  • โœ… It works on all Xiaomi models, including Black Shark and devices without any MIUI.
  • โœ… More lock options (time, geolocation, Wi-Fi network).
  • โœ… The ability to hide the AppLock application from the menu.

Disadvantages:

  • โŒ Additional permissions are required (e.g., Special Access to track application launches).
  • โŒ Can conflict with battery optimization (add exceptions!).
  • โŒ Some features (such as blocking calls) are paid.
How to bypass the blocking of a third-party AppLock?
If you forgot your password from AppLock, try: 1. Restore access via email (if the feature has been configured). 2. Delete application data in Settings โ†’ AppLock โ†’ AppLock โ†’ Warehouse โ†’ Clear data (password will reset, but locks will remain active until rebooted). 3. Reinstall the application (does not work on all versions). Attention: These methods can lead to loss of settings!

4. Hidden MIUI features for application protection

In addition to the obvious methods, MIUI has little-known features that will help to strengthen the protection:

  • ๐Ÿ”‘ Blocking through Safe Folder (for files): If you want to hide not the application itself, but its data (for example, photos from the Gallery), use Files โ†’ Safe Folder.Folder is encrypted and requires a password every time you open it.
  • ๐Ÿ“ต Do Not Disturb Mode for Notifications: C Settings โ†’ Notifications โ†’ Donโ€™t disturb you can hide notifications from specific apps so that their content doesnโ€™t appear on a locked screen.
  • ๐Ÿ”„ Autolock time: App Lock or Second Space can set a schedule when apps are closed (e.g. 22:00 to 7:00).

For models with MIUI 14+, the Private Mode feature (Settings โ†’ Privacy โ†’ Private Mode) allows you to temporarily hide selected apps from menus and search, but does not block them with a password.

๐Ÿ’ก

Second Space is the only method that is guaranteed to work on all Xiaomi models, including devices without the App Lock (for example, the POCO M4 Pro or Redmi 10A).

Frequent problems and their solutions

When you set up your app lock, you'll see some common errors.

Problem.Reason.Decision
App Lock does not save settingsConflict with battery optimization or cache.Add App Lock to battery exclusions and clear the cache in Settings โ†’ Apps.
Password is not suitable after MIUI updateReset security settings when upgrading.Reset your password through Settings โ†’ Accounts โ†’ Xiaomi โ†’ Security.
Second space is not being created.Insufficient memory or region limitation.Free up 2-3 GB of memory and change region to India in the settings.
Third-party AppLock does not block appsThere are no special access rights.Go to Settings โ†’ Special Features โ†’ AppLock and enable permissions.

If the app stopped sending notifications after blocking, check:

  1. Whether notifications are included in the settings of the application itself.
  2. Do not disturb the blocked programs.
  3. App Lock has disabled the option โ€œHide notificationsโ€ (if not necessary).

โš ๏ธ Attention: On devices with MIUI Global (European firmware) App Lock can be reduced compared to the Chinese version. MIUI China (but note that this will require unlocking the bootloader and may take away warranties).

6. Comparison of methods: which one to choose?

The choice of locking method depends on your tasks and the model of the phone. Below is a comparison table:

CriteriaApp LockSecond SpaceThird-party annexes
Level of protectionMedium (depends on the screen password)High (complete isolation)High (additional options)
CompatibilityNot all models.All MIUI 10+ except Black SharkAll Android devices
ConvenienceHigh (fast access)Low (must be switched)Average (depending on the application)
Hiding applicationsNo.Yes (fully)Yes (partially)
Additional functionsMinimumData isolation, individual settingsGeoblocking, fake failure, disguise

Selection recommendations:

  • ๐Ÿ“ฑ If you Xiaomi/Redmi/POCO App Lock โ€“ Use it for basic protection.
  • ๐Ÿ”’ If you want maximum privacy (for example, for working applications) โ€“ set up Second Space.
  • ๐Ÿ›ก๏ธ If you want flexible settings (time-lock, geolocation) โ€“ install AppLock or Norton App Lock.
  • ๐Ÿ“ต If you want to hide the existence of applications, combine Second Space with hiding icons through the launcher (for example, Nova Launcher).

FAQ: Answers to Frequent Questions

Can I put a password on system applications (for example, Settings or Phone)?
Most of the time, it's not. Built-in App Lock and third-party apps can't block system utilities (Settings, Phone, Messages) for security reasons. The exception is Second Space, where you can duplicate some system applications (like Contacts), but not all. If you want to restrict access to calls or SMS, use third-party applications like Smart AppLock (they block the interface, but not the functions themselves).
How to Reset Your App Lock Password If You Forgot It
The methods depend on the lock method: For built-in App Lock: reset the lock screen password through Settings โ†’ Accounts โ†’ Xiaomi โ†’ Security โ†’ Reset password (requires a tied Mi Account). For Second Space: delete space through Settings โ†’ Second space โ†’ Delete (data will be lost!). For third-party applications: use the recovery function by email or reinstall the program (sets will reset). If nothing helps, reset the phone to factory settings (Settings โ†’ Phone โ†’ Resets), but this will delete all data!
Will the lock work if you turn off the phone?
Depending on the method: App Lock: if the option "Block after reboot" is not activated, the protection will reset. Second Space: the space remains locked, but you will need to enter the password again to log in. Third-party applications: most (for example, AppLock) retain the lock after reboot, but may require re-authentication. To avoid problems, enable the "AutoStart" option in the locking settings and add the application in the battery optimization exceptions.
Can I block the application with a fingerprint, but not PIN-code?
Yes, but with reservations: App Lock can select the unlock method: App Lock settings โ†’ Unlocking techniques. You can see a print, face or PIN. Turn off unnecessary methods, leaving only biometrics. In Second Space, set up a separate print for the second space in Settings โ†’ Second space โ†’ Login settings: Third-party applications (e.g. Norton App Lock) also have the option of selecting the authentication method. Please note that if the fingerprint fails (e.g. due to wet fingers), the system may request a backup. PIN-Make sure it's reliable!
How to hide the app app AppLock so that it is not found?
There are several ways: In the AppLock settings, enable Hide the Icon (not available in all versions); Use a Hide App Hide Launcher (like Nova Launcher or Apex Launcher); Rename the app and change its icon via Icon Changer (like Calculator); in MIUI, you can hide the app in the Hidden Apps folder (click the Hide Icon โ†’ Hide) and combine these methods to maximize masking. For example, hide the AppLock icon through the Layour and disable notifications.