Security
Locking apps, a private folder and a SIM PIN
Short version
- Everything starts with the screen lock: a 6-digit PIN or a password; fingerprint and face are convenience only.
- On Samsung, Xiaomi, OnePlus and iPhone you lock or hide apps with built-in features — on Pixel you use Private space.
- To hand the phone over on a single app: App pinning on Android, Guided Access on iPhone.
- The SIM PIN locks your number in any phone — set it once, with the code printed on the card's holder.
- Three wrong SIM PINs need the PUK code, and too many wrong PUKs kill the card — don't guess, get it from your carrier.
First things first: the screen lock
Every tool in this guide sits behind the lock on the front door. If the phone opens with a swipe, every other lock is bypassed — whoever holds the phone goes wherever they want. So the first stop is the lock type you pick:
- Password or 6+ digit PIN — the hardest to break, and the foundation for everything else.
- 4-digit PIN — acceptable, but guessed fast if it's a birth year.
- Pattern — the weakest: easy to read over a shoulder and it leaves smudge traces.
- Fingerprint and face — convenience, not a replacement: the phone still asks for the code at restarts and in sensitive settings.
- Swipe / no lock — an open door; anyone can read everything.
Phone screen: Screen lock type: Swipe; Pattern; PIN ←; Password; None
Tip
Locking or hiding apps, by brand
A locked app asks for the code, fingerprint or face every time it opens — even while the phone itself is unlocked. Each brand calls the feature something else, and on some phones apps aren't locked one by one but moved into a separate space. Pick your brand:
- Samsung has no per-app lock; instead it has the Secure Folder — a Knox-encrypted space with its own password, holding copies of apps and files.
- Turn it on from Settings → Security and privacy → More security settings → Secure Folder — it asks for your Samsung account.
- Add apps with the + button inside the folder, files with Add files from the three-dot menu; from Gallery you move them straight with “Move to Secure Folder”.
- On older One UI versions the path is Settings → Biometrics and security → Secure Folder. The folder's icon can be hidden from the quick panel.
Menu path, screen by screen: 1. Settings: Lock screen; Security and privacy ←; Location; Safety and emergency; Accounts and backup; Battery and device care. 2. Security and privacy: Secure lock settings; More security settings ←; Install unknown apps. 3. More security settings: Secure Folder ←; Set up SIM card lock; Device admin apps
- On Xiaomi, Redmi and POCO the feature is called App lock: Settings → Apps → App lock — it's also inside the Security app.
- On first open you set a password (pattern, PIN or text password), then tick the apps to lock — every open asks for the password, fingerprint or face.
- From the top cog you choose when the password is asked and can hide notification content for locked apps — they only show “you have a new message”.
- The Hidden apps tab lives in the same screen, and Second space gives you a parallel phone with its own account and photos — search for it in the Settings search bar if it's not in the menu.
Menu path, screen by screen: 1. Settings: About phone; Passwords & security; Privacy; Battery; Apps ←; Additional settings. 2. Apps: System app settings; Manage apps; Dual apps; Permissions; App lock ←. 3. App lock: WhatsApp (on); Gallery (on); Messages (off); Settings (off)
- On Pixel and near-stock Android there's no per-app lock — there's Private space instead: a separate profile with its own lock, at the bottom of the app list, on Android 15 or newer.
- Set it up from Settings → Security & privacy → Private space, choosing Choose a new lock so the code differs from the phone's.
- Apps in private space vanish from the list, Recents, search and Settings while it's locked — and you can even hide the “Private space” row itself.
- Careful: apps in a locked space stop completely and get no notifications — not the place for everyday WhatsApp.
Menu path, screen by screen: 1. Settings: Display; Accessibility; Security & privacy ←; Location; Safety & emergency; Passwords, passkeys & accounts. 2. Security & privacy: Screen lock; [Privacy] Private space ←; Privacy dashboard; Permission manager
- On OnePlus, Oppo and Realme (OxygenOS / ColorOS) all three tools live in Settings →
Security & privacy:App lock,Hide appsandPrivate safe. - On first use you set a privacy password, separate from the screen code — it opens all three tools.
- In
App lockyou tick the apps; inHide appsthe app leaves the list and opens through a code typed on the phone's dial pad. Private safeis the vault for photos, videos, audio and documents — the files become unreachable for other apps.
Menu path, screen by screen: 1. Settings: Wi-Fi; Security & privacy ←; Battery; Apps; About device. 2. Security & privacy: App lock ←; Hide apps; Private safe; Privacy password. 3. App lock: WhatsApp (on); Photos (on); Messages (off)
App lock, Hide apps, Private safe) usually stay in English even on a Romanian-language phone.- From iOS 18 you can lock any installed app: touch and hold its icon → “Require Face ID” (or Touch ID / passcode).
- In the same menu, “Hide and Require Face ID” moves the app to the Hidden folder in App Library — a folder that needs authentication.
- A locked app's content also disappears from notification previews, search, Siri suggestions, CarPlay and call history.
- Apps that come with iOS can't be hidden, and for a few basic ones, like Settings, the lock option doesn't appear at all. The hidden list: Settings → Apps → Hidden Apps.
Gesture on the phone screen: Touch and hold the app until the menu opens.
Face ID will be required to open WhatsApp or view its content.
Phone screen: Require Face ID?. Face ID will be required to open WhatsApp or view its content. [Require Face ID] [Cancel]
Note
App lock (Settings → Security) and PrivateSpace; on recent Motorola phones, Secure folder inside the Moto Secure app. If the phone is in Romanian and menus look different, search the English name in the Settings search bar.A private folder for photos and files
A private folder is different from locking an app: it's a separate, encrypted container with its own password. Whatever you put inside stays out of the gallery, search and other apps — and survives as long as you remember the password. Each brand names it differently:
- Samsung — Secure Folder: apps and files, protected by Knox; photos move straight from Gallery.
- Pixel — Private space: apps only, each installed separately inside; for files use
Safe folderin the Files app. - Xiaomi — Second space: a fully separate profile — apps, accounts, photos; you switch spaces from the lock screen.
- OnePlus / Oppo —
Private safe: files only — photos, videos, audio, documents. - iPhone: no fully separate space; instead, the Hidden album in the Photos app (the Utilities section) asks for Face ID to open.
Warning· A private folder's password doesn't reset by e-mail
Tip
Handing the phone over? Pin it to one app
The kid wants a game, a colleague wants to see a photo — and you don't want fingers wandering through messages or banking. Pinning keeps the phone stuck on a single app until you type the code.
Turn on app pinning
On Android: Settings → Security & privacy → More security & privacy → App pinning (on older versions: Security or Security & location → Advanced → App pinning). Also turn on the option that asks for the code before unpinning — without it, anyone can leave the app.
Android 15App pinningAsk for PIN before unpinningPhone screen: App pinning: App pinning (on) ←; Ask for PIN before unpinning (on)
Pin the app you want
Open the app, swipe up to the middle of the screen and hold (or tap the Recents button on 3-button navigation), then tap the app's icon at the top of the window and choose Pin.
PhoneMessagesBrowserCameraSwipe up and hold for Recents Gesture on the phone screen: Swipe up and hold for Recents.
Unpin with the gesture and the code
With gestures: swipe up and hold. With buttons: hold Back + Recents — on 2-button navigation it's Back + Home. The phone asks for your PIN, pattern or password — only then do you get the home screen back.
On iPhone, use Guided Access
Settings → Accessibility → Guided Access → turn it on and set a code in “Passcode Settings”. Open the app, triple-click the side button (or the Home button on models that have one) and tap Start — at the end, triple-click + the code gets you out. Before Start you can even block screen areas or the volume buttons.
iOS 18Guided AccessAccessibility ShortcutPer-App SettingsPhone screen: Accessibility: Guided Access ←; Accessibility Shortcut; Per-App Settings
Menu path, screen by screen: 1. Settings: Display; Accessibility; Security & privacy ←; Location; Safety & emergency; Passwords, passkeys & accounts. 2. Security & privacy: Screen lock; Face & Fingerprint Unlock; More security & privacy ←. 3. More security & privacy: SIM lock; App pinning ←; Install unknown apps
Warning· Pinning hides nothing
The SIM PIN: your number's bodyguard
A phone lock doesn't protect the number: a card pulled out of the phone works in another one. With a SIM PIN, the card asks for the code on every power-up and in any phone it's inserted into — nobody can use your number for calls, data and, most of all, for the security codes sent by SMS (bank, WhatsApp, accounts).
Warning· Don't guess the code
- Settings → Connections → SIM manager → More SIM settings → SIM card security (on older versions: Settings → Biometrics and security → Other security settings).
- Turn on Lock SIM card and enter the current PIN — the one printed on the card's holder.
- Then tap Change SIM card PIN and pick your own 4–8 digit code — not your birth year.
Menu path, screen by screen: 1. Settings: Connections — Wi-Fi, Bluetooth, SIM manager ←; Connected devices; Modes and Routines; Sounds and vibration; Notifications. 2. Connections: Wi-Fi — HomeNet (on); Bluetooth (on); Mobile networks; Data usage; SIM manager ←; More connection settings. 3. SIM manager: SIM 1 — Orange (on); [Preferred SIMs] Calls; Text messages; Mobile data; More SIM settings ←. 4. SIM card security: Lock SIM card (off) ←; Change SIM card PIN
- Settings → Security & privacy → More security & privacy → SIM lock.
- Turn on Lock SIM card with the card's current PIN.
- Under Change SIM PIN you set the new 4–8 digit code. On other Android brands, search “SIM” in the Settings search bar.
Menu path, screen by screen: 1. Settings: Display; Accessibility; Security & privacy ←; Location; Safety & emergency; Passwords, passkeys & accounts. 2. Security & privacy: Screen lock; Face & Fingerprint Unlock; More security & privacy ←. 3. More security & privacy: SIM lock ←; App pinning; Install unknown apps. 4. SIM lock: Lock SIM card (off) ←; Change SIM PIN
- Settings → Cellular → SIM PIN — on Dual SIM, tap the number you want to lock first.
- Turn the switch on and enter the current PIN given by the carrier.
- With Change PIN you pick your own code. Apple warns plainly: don't guess — a wrong guess can permanently lock the card.
Menu path, screen by screen: 1. Settings: Airplane Mode (off); Wi-Fi — HomeNet; Bluetooth — On; Cellular ←; Personal Hotspot; VPN. 2. Cellular: Cellular Data (on); Cellular Data Options; Personal Hotspot; Wi-Fi Calling; SIM PIN ←. 3. SIM PIN: SIM PIN (off) ←; Change PIN
Enter your SIM card PIN to enable cellular services. 3 attempts remaining.
Phone screen: SIM Locked. Enter your SIM card PIN to enable cellular services. 3 attempts remaining. [OK]
Enter the wrong PIN 3 times and the card locks, asking for the PUK code (the card's unblock code). The PUK is also printed on the card's holder or comes from the carrier — from the online account, the app or customer service. Don't guess the PUK either: after about 10 wrong attempts the card dies for good, and the number moves to a new SIM or eSIM issued by the carrier.
Tip
Hide message content on the lock screen
The bank code, the doctor's message, who texted you — all of it shows on the lock screen for whoever picks the phone up. The fix isn't turning notifications off but hiding their content: you still see a message arrived, while the text appears only after unlock.
- Samsung: Settings → Notifications → Lock screen notifications → Hide content. On the newest versions the option is called
Hide content while locked, right inside the Notifications menu. - Pixel / near-stock Android: Settings → Notifications → Notifications on lock screen and pick how much shows — including nothing.
- Xiaomi: inside the App lock screen, from the top cog, the
Hide notification contentoption — locked apps' notifications only show “you have a new message”. - iPhone: Settings → Notifications → Show Previews → When Unlocked or Never — also adjustable per app.
Phone screen: Lock screen notifications: Notification style — Cards; Hide content (on) ←; Show alerting notifications only (off)
Note
The outer layer: theft protection
The locks above slow a thief down; theft-protection features act in the seconds of the theft itself, while the phone is still on. Worth switching on now, not later:
- Android (Pixel and most recent phones): Settings → Google → All services → Theft protection. There you get Theft Detection Lock (sensors notice the phone being snatched and lock the screen instantly), Offline Device Lock, Failed Authentication Lock and Remote Lock — on Android 15, some on Android 10+.
- iPhone (iOS 17.3+): Settings → Face ID & Passcode → Stolen Device Protection. Away from familiar places, saved passwords, erasing the phone and locked apps need Face ID with no passcode fallback, and critical account changes get a one-hour delay.
- Keep the finder on (Find Hub on Android, Find My on iPhone) — without it you can't locate or lock anything remotely.
Menu path, screen by screen: 1. Settings: Passwords, passkeys & accounts; Google — ion.popescu@gmail.com ←; System; About phone. 2. Google: All services ←; Privacy & security. 3. All services: [Personal & device safety] Theft protection ←; Find Hub; Emergency
If the phone disappears, the order of steps matters: finding it, remote locking, suspending the SIM and erasing are covered step by step in the lost or stolen phone guide.
What you want to protect, with what tool
| What you want to protect | The right tool |
|---|---|
| Private photos and files | The private folder: Secure Folder, Private space, Second space, Private safe |
| One app in particular (WhatsApp, Gallery, banking) | App locking, or moving it into the private folder |
| The phone handed over on a single app | App pinning (Android) / Guided Access (iPhone) |
| Your number and its SMS codes | The SIM card's PIN |
| Messages showing on the lock screen | Hiding notification content |
| The phone itself if stolen | The screen lock + Theft protection / Stolen Device Protection |
Do
- Use different codes: SIM PIN ≠ screen PIN ≠ private folder password.
- Keep the SIM PIN written down somewhere away from the phone — not in the case.
- Test it: lock the phone and check whether messages still show their text.
- Turn on folder password recovery (Samsung account, Mi Account) before you need it.
Don't
- Don't guess the SIM PIN more than twice — the third miss asks for the PUK.
- Don't reuse one code everywhere: whoever sees it once opens everything.
- Don't rely on hiding the icon — a hidden-but-unlocked app still opens for anyone.
- Don't install unknown “app locker” apps — they watch everything you open and can be removed in seconds.
Frequently asked questions
Is a SIM PIN worth turning on?
What do I do if the SIM locked after a wrong PIN?
How do I lock WhatsApp on my phone?
App lock or “Require Face ID”. On Samsung you move WhatsApp into the Secure Folder, and on Pixel you install it in Private space — though the folder route means a second account.Can I use a Play Store app to lock other apps?
Do fingerprint or face replace the PIN?
Can a child get out of a pinned app?
If I forget the private folder's password, do I lose everything?
Does your phone look different, or is something missing here?
Menus and buttons differ from model to model and change with updates. If these steps do not match your phone or you cannot find what you need, tell us your model and what you see on the screen: we will answer you and update the guide.
Checked against
- Google — Ascunde aplicațiile sensibile cu spațiul privat
- Google — Fixați ecrane și anulați fixarea acestora
- Google — Protejează-ți datele cu caracter personal împotriva furtului
- Apple — Blocarea sau ascunderea unei aplicații pe iPhone
- Apple — Folosirea codului PIN pentru cartela SIM pe iPhone sau iPad
- Samsung — Ce este aplicația Folder securizat
- Xiaomi — Introduction of the Application lock function
- OnePlus — OxygenOS 13 user manual (App lock, Hide apps, Private safe)
Related guides
Lost or stolen phone: find it, lock it, erase it
Phone gone? Locate it in a browser, lock it with a message, suspend the SIM and erase it remotely — in the right order.
15 min · Anyone can do it
Forgot the PIN or pattern of your own phone: the official ways back in
Forgot your lock code? The official ways back into your own phone — and what each one costs you.
30 min · Needs care
A child's phone: parental controls on Android and iPhone
Child account, screen-time limits and download approvals — on Android and iPhone.
30 min · Anyone can do it
Signs someone is spying on your phone, and what to check
Someone reading your messages or seeing your location? The checks that actually matter, on Android and iPhone.
20 min · Needs care
Locked out of your phone?
We help you regain access legally — bring the phone and your papers.