How to put a password on the application on Android Xiaomi: all ways

Privacy on your smartphone is one of the main concerns of Xiaomi owners. Even if you trust your loved ones, some apps (messengers, banking services, gallery) are better protected with an additional password. MIUI has several built-in ways to block access to programs, but not all users know about their existence or use them correctly.

In this article, we will discuss 5 working methods for passwords in Xiaomi (including Redmi, POCO, Black Shark models). From the standard App Lock to hidden features like Second Space, you will learn which option is right for you, and also talk about common errors that cause the lock to stop working, and how to avoid them.

1. Built-in App Lock: The easiest way

App Lock is the basic protection tool in MIUI. It allows you to set a password, fingerprint or pattern lock to any application. It works on all Xiaomi devices with the MIUI firmware version 8 and later (including Redmi Note 12, POCO X5, Xiaomi 13T).

To activate the lock:

  1. Open Settings β†’ Applications β†’ Blocking applications.
  2. Click Enable and set the unlock method (PIN, pattern lock or fingerprint).
  3. Select the apps from the list you want to protect.
  4. Activate the Block Switch next to each.

⚠️ Note: If you use a pattern lock, avoid simple combinations (such as the letters "L" or "Z"). MIUI 15 there is protection against selection - after 5 wrong attempts, the application will be blocked for 30 seconds.

Set a strong password (not date of birth)

Disable notifications for blocked applications

Add a backup email to restore

Check the fingerprint sensor (if you use it)-->

App Lock supports hiding notifications from blocked applications. To do this, activate the option to Hide the contents of notifications in the lock settings, then messages from WhatsApp, Telegram or SberBank Online will not appear on the lock screen.

2.Second Space: A separate profile with a password

Second Space creates an isolated copy of the system with separate applications, data and settings. It's not just a lockdown, it's a full-fledged sandbox with its own password, where you can transfer confidential programs. MIUI 9–15.

How to set up:

  1. Go to Settings β†’ Special Options β†’ Second Space.
  2. Click Create a Second Profile and follow the instructions.
  3. Set a separate password for login (may differ from the main one).
  4. In the new profile, install the necessary applications (they will be duplicated).
AdvantagesDeficiencies
Complete data isolation (photos, messages, files)Takes up extra space in memory
You can use different accounts (for example, two WhatsApp accounts)Applications are duplicated, increasing battery consumption
It works even if the main profile is unlocked.You need to update the applications separately in both profiles

⚠️ Note: If you delete Second Space through settings, all the data inside it will be permanently erased. Before reset, back up through Settings. β†’ Memory. β†’ Backup.

App Lock (built-in lock)

Second Space (second profile)

Third-party applications (e.g. Norton App Lock)

I don't use a lock.-->

3. Hidden folders: an alternative to password

If you don't need a password, but you want to hide apps from prying eyes, MIUI has a hidden folder feature that doesn't block access completely, but makes icons invisible in the main menu. It's suitable for Xiaomi Mi 11, Redmi 10 and later.

Instructions:

  • πŸ“ Hold your finger in the free space of the desktop β†’ Select Screen Settings.
  • πŸ”’ Go to the Hidden Applications tab.
  • πŸ“± Select the programs you want to hide and confirm.

To bring back hidden apps:

  1. Make a movement with two fingers down the desktop (the gesture "pinch").
  2. Enter the password (if it is set for hidden folders).

πŸ’‘

Hidden applications can still be found through a search system (Conductor β†’ Search). For complete privacy, combine this method with App Lock.

4. Third-party applications: when there are few built-in functions

If Xiaomi’s standard tools don’t suit you, you can use third-party blocking software that offers additional features such as fake password reset, automatic time locking, or taking photos of the attacker.

Top.-3 tested applications:

  • πŸ” Norton App Lock – supports face lock, has log log of attempts to log in.
  • πŸ›‘οΈ AppLock by DoMobile – allows you to set different passwords for different applications.
  • πŸ“± Smart AppLock – Minimalist interface, works on Xiaomi with Android 12+.

⚠️ Note: Third-party blocking applications require device administrator rights.This may conflict with certain features MIUI, For example, battery optimization. If the blocker stops working after installation, add it to the exceptions:

Settings β†’ Battery β†’ Battery Optimization β†’ Select applications β†’ Find a blocker β†’ Disable optimization
How to get around the lock of a third-party App Lock, if you forgot the password?
1. Reboot your phone in Safe Mode (hold the power button β†’ long tap on "Stop" β†’ "Reboot in Safe Mode"). 2. Remove the locking app through Settings β†’ Apps. 3. If it doesn't help, reset your phone's settings to factory settings (Settings β†’ About Phone β†’ Reset), but this will delete all data!

5. Blocking through Google Play Protection (for banking applications)

Some applications (e.g. SberBank Online, Tinkoff, VTB Online) have built-in protection through Google Play Protection, which automatically blocks access if the device is unlocked in an insecure way (e.g., without security). PIN-code).

To enable this function:

  1. Open the banking application and go to its settings.
  2. Find the Security or Entry Protection section.
  3. Activate the Lock option when unsafe unlocking.
  4. Confirm the action via SMS or biometrics.

This lock is triggered if:

  • πŸ”“ Phone unlocked without any PIN/kode (e.g., only by print).
  • πŸ“± The device is rooted or has unofficial firmware.
  • πŸ”„ It’s been over 24 hours since the last password unlock.

πŸ’‘

Google Play Protection only works for apps that support this feature, and it doesn’t replace App Lock, but adds an extra layer of security for financial services.

Frequent problems and their solutions

Even after you set up your lock correctly, Xiaomi users are faced with common errors, and here are the most common ways to fix them:

Problem.Reason.Decision
App Lock does not ask for a passwordDisabled function in settingsCheck Settings β†’ Applications β†’ Blocking Applications β†’ Enable
Password resets after resettingMisfunction of MIUIClear the Security app cache (Settings β†’ Applications β†’ Application Management β†’ Security β†’ Clear the cache)
Fingerprints are not working.Sensor not added to App LockGo to Settings β†’ Passwords and Security β†’ Fingerprints and add again
Second Space Disappears After UpdateResetting MIUI settingsRestore your profile through Settings β†’ Special features β†’ Second Space β†’ Restore

If none of these methods helped, check:

  • πŸ“± Version MIUI β€” Some features (e.g. Second Space) may not be available in older firmware.
  • πŸ”„ Security Updates – Outdated patches may conflict with lockdown.
  • πŸ› οΈ Root rights – App Lock is unstable on rooted devices.
Can I put different passwords on different apps in Xiaomi?
The standard App Lock does not, but it uses a single password for all blocked applications, but third-party programs (like AppLock by DoMobile) support individual passwords.
What to do if I forget the password from App Lock?
There are two options: Restore your password through your attached Mi-account (if you have one). Reset your settings. MIUI before the factory (Settings) β†’ The phone. β†’ Resetting settings), but it will delete all data! ⚠️ On some models (such as the Redmi Note 9), the App Lock password is reset along with the phone’s main pattern lock.
Does App Lock work if your phone is unlocked with a fingerprint?
Yes, but only if the App Lock settings activate the option to Request Password after unlocking the screen, and by default, lock only works when the application is first launched after restarting or prolonged inactivity.
Can system applications (e.g. Gallery or Contacts) be blocked?
Yes, App Lock supports blocking system applications, including: πŸ“· Gallery (photo and video) πŸ“ž Contacts and Call Log πŸ“ Notes and Calendar πŸ“ Communications (SMS/MMS) Exception – Settings and Security, they can not be blocked.
How to disable notifications from blocked applications?
App Lock has the option to Hide the contents of notifications. To turn off notifications completely: Go to Settings β†’ Notifications β†’ Notification Management. Find the right app and turn off the switch.