Whether you want to stop someone from opening WhatsApp or your gallery when they hold your phone, or you want an extra layer of protection for banking apps, locking apps is one of the most useful things to set up. The good news: in most cases you do not need any third-party app. Most Android interfaces include a free built-in app lock, and Android 15 added a "Private Space" feature. This guide walks through every interface step by step, then talks honestly about third-party locker apps and their risks.
The golden rule before you start
Any third-party locker app works through very sensitive permissions: usage access (to know which app you opened), drawing over other apps (to show its lock screen), and sometimes Accessibility. In an untrusted developer's hands, these permissions mean the app can watch everything you do on your phone. That is why the built-in system methods are always the first choice, and if your interface lacks one, we list the safer alternatives below.
Xiaomi (MIUI / HyperOS): App lock from the Security app
Open the built-in Security app.
Choose App lock and enable the feature.
Set a lock pattern, PIN, or password — preferably different from your screen lock.
Enable fingerprint unlocking from the same screen.
Check the apps you want to lock: WhatsApp, gallery, messages, banking apps.
From the gear icon inside App lock, enable hiding notification content for locked apps, so messages do not show on the lock screen.
Huawei and Honor (EMUI / MagicOS): App Lock from Settings
Open Settings → Security → App Lock.
Enable the feature and choose the lock type: fingerprint or a custom PIN.
Turn on the toggles next to the apps you want to lock.
If you chose a custom PIN, you will be asked to set a security question — pick one whose answer is easy for you and hard for others.
Oppo, Realme and OnePlus (ColorOS / OxygenOS)
Open Settings → Security & privacy → App lock.
Enter or create a privacy password, and enable fingerprint.
Check the apps you want to lock.
From the lock settings, enable hiding locked apps' icons from the home screen if you want a higher level of privacy.
Vivo (Funtouch OS)
Open Settings → Security & privacy → App lock.
Create the privacy password and enable fingerprint.
Pick your apps and enable the lock for each.
Samsung (One UI): Secure Folder
Samsung does not offer a classic app lock in One UI, but it has something stronger: Secure Folder, built on the Knox platform — an encrypted, fully separate space you lock with a fingerprint or pattern, where you move sensitive apps or even install second copies of them with different accounts:
Open Settings → Security & privacy → More security settings → Secure Folder and sign in with your Samsung account.
Choose the lock type and enable fingerprint.
Open Secure Folder from the app drawer and tap + to add the apps you want.
Optionally, hide the Secure Folder icon entirely from quick settings, and open it from Settings when needed.
Pixel and Android 15: Private Space
Starting with Android 15, Google added an official feature called Private Space: a separate, locked section of the app drawer for sensitive apps, secured with your fingerprint or a lock completely different from your screen lock:
Open Settings → Security & privacy → Private space and tap set up.
Choose your screen lock or a new custom lock (recommended).
After setup, scroll to the bottom of the app drawer to find the Private section — tap to install a new app or move your sensitive apps there.
Apps inside Private Space get locked and their notifications are hidden whenever the space is locked.
Summary table: what does your interface have?
Interface | Built-in feature | Location |
|---|---|---|
Xiaomi / HyperOS | App Lock | Security app |
Huawei / Honor | App Lock | Settings → Security |
Oppo / Realme / OnePlus | App lock + icon hiding | Settings → Security & privacy |
Vivo | App lock | Settings → Security & privacy |
Samsung | Secure Folder | Settings → Security & privacy |
Pixel / Android 15+ | Private Space | Settings → Security & privacy |
No option in your interface? The safe alternatives
If your phone is old or its interface is bare, you have two alternatives safer than third-party locker apps. The first is a work profile through an open-source app like Shelter, which we covered — you place sensitive apps in an isolated space and freeze them when not needed. The second is relying on the locks built into the apps themselves: official WhatsApp has a built-in fingerprint lock under Settings → Privacy → App lock, and most banking apps require a fingerprint on launch. And if you absolutely must use a third-party locker, apply the rules from our app verification guide: check the developer, permissions and reviews before installing, and reject any locker asking for excessive permissions.
Final tips so the lock actually works
Pick a pattern different from your screen lock: someone who knows your screen pattern still cannot open your apps.
Hide notification content: the lock protects the app, but its notifications can expose you on the lock screen — review your notification settings and hide content for sensitive apps.
Do not lock everything: locking 15 apps means typing the pattern every minute, and you will end up disabling the feature. Lock only 3-5 sensitive apps.
Enable WhatsApp's built-in lock even with a system lock: two layers are better than one for the app that matters most.
Bottom line: app locking is a feature your phone most likely already has, no extra apps needed: App Lock on Xiaomi, Huawei, Oppo and Vivo, Secure Folder on Samsung, and Private Space on Android 15. Setting it up takes five minutes and keeps you away from third-party locker apps whose permissions are more dangerous than what you are protecting against.





