Xiaomi smartphones support blocking applications with a password, that is, you can lock the application using a password or another method of blocking. As a result, the data of this application is protected. How to set a password for an application on a Xiaomi phone?
Go to Settings.
Find “Application Protection”.
Enter the key twice.
Or pin code (password).
Log in to your Mi account to be able to recover your password if you forget it. Or skip this step.
Specify the applications to be ruined. Let it be a browser for example – translate the switch opposite it.
Now, when you start this application, you will need to enter the key or password (PIN code) previously set. Excellent protection if you need to hand the phone over to someone. You can spoof the gallery.