XGSM Iași — Service & Piese GSM

Security

Locking apps, a private folder and a SIM PIN

A lock screen stops nobody from opening your WhatsApp or gallery once the phone is unlocked. Phones have separate tools for that: app locking, a private folder with its own password, and the SIM PIN, which keeps your number locked even when the card is moved to another phone. Below is each tool, on each brand.
Anyone can do it15 minAndroidSamsungXiaomiHuaweiMotorolaGoogle PixelOnePlusOppoiPhoneChecked: November 17, 2026

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.
One UI 7
Screen lock type
Swipe
Pattern
PIN
Password
None

Phone screen: Screen lock type: Swipe; Pattern; PIN ←; Password; None

Choosing the lock type on Samsung — PIN or Password are the only serious picks; “Swipe” and “None” stop nobody.

Tip

Pick a code you type once and remember — don't keep it on a note inside the case and don't hand it to kids “for a game”. If the wrong person learned it, change it from the same menu. Already forgot it? See what you can do.

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.
One UI 7
Settings
Lock screen
Security and privacy
Location
Safety and emergency
Accounts and backup
Battery and device care
Step 1
Security and privacy
Secure lock settings
More security settings
Install unknown apps
Step 2
More security settings
Secure Folder
Set up SIM card lock
Device admin apps
Step 3
Security and privacy › More security settings › Secure Folder

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

The way to Secure Folder — here you pick its separate lock type: pattern, PIN or password, optionally with a fingerprint.

Note

On Huawei and Honor there's 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 folder in 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

On Samsung turn on “Reset with Samsung account” early, on Xiaomi link the Mi Account — without them, a forgotten password wipes the whole space. Same on Pixel: resetting Private space deletes its content.

Tip

Apps inside a locked space send no notifications at all. That's why the private folder is for apps you open rarely — not for everyday messaging.

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.

  1. 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 15
    App pinning
    App pinning
    Ask for PIN before unpinning

    Phone screen: App pinning: App pinning (on) ←; Ask for PIN before unpinning (on)

  2. 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.

    PhoneMessagesBrowserCamera
    Swipe up and hold for Recents

    Gesture on the phone screen: Swipe up and hold for Recents.

  3. 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.

  4. 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 18
    Settings
    Accessibility
    Guided Access
    Accessibility Shortcut
    Per-App Settings

    Phone screen: Accessibility: Guided Access ←; Accessibility Shortcut; Per-App Settings

Android 15
Settings
Display
Accessibility
Security & privacy
Location
Safety & emergency
Passwords, passkeys & accounts
Step 1
Security & privacy
Screen lock
Face & Fingerprint Unlock
More security & privacy
Step 2
More security & privacy
SIM lock
App pinning
Install unknown apps
Step 3
Security & privacy › More security & privacy › App pinning

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

The full path: Settings → Security & privacy → More security & privacy → App pinning.

Warning· Pinning hides nothing

The person sees everything inside the pinned app — pin the game or the photo, not the gallery or the messages. For a child's own phone, see the parental controls guide.

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

Turning the PIN on asks for the card's current PIN — it's printed on the plastic card the SIM came in, or in your carrier's documents and account. If you no longer have it, ask the carrier before trying.
  • 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.
One UI 7
Settings
ConnectionsWi-Fi, Bluetooth, SIM manager
Connected devices
Modes and Routines
Sounds and vibration
Notifications
Step 1
Connections
Wi-FiHomeNet
Bluetooth
Mobile networks
Data usage
SIM manager
More connection settings
Step 2
SIM manager
SIM 1Orange
Preferred SIMs
Calls
Text messages
Mobile data
More SIM settings
Step 3
SIM card security
Lock SIM card
Change SIM card PIN
Step 4
Connections › SIM manager › More SIM settings › Lock SIM card

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

The SIM PIN on Samsung — in SIM manager you open “More SIM settings”, then “SIM card security”.
SIM Locked

Enter your SIM card PIN to enable cellular services. 3 attempts remaining.

OK

Phone screen: SIM Locked. Enter your SIM card PIN to enable cellular services. 3 attempts remaining. [OK]

The PIN prompt at power-up — after 3 wrong tries the card locks and moves on to the PUK code.

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

The PIN is asked only when the phone powers on or the card is moved — not at every unlock. It works the same for eSIM.

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 content option — locked apps' notifications only show “you have a new message”.
  • iPhone: Settings → Notifications → Show Previews → When Unlocked or Never — also adjustable per app.
One UI 7
Lock screen notifications
Notification styleCards
Hide content
Show alerting notifications only

Phone screen: Lock screen notifications: Notification style — Cards; Hide content (on) ←; Show alerting notifications only (off)

On Samsung: the notification stays on screen, but without sender or text — exactly what you want when the phone sits on the table.

Note

If your messages seem read by someone else — not from the lock screen, from inside the phone — go through the signs of a spied-on phone.

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.
Android 15
Settings
Passwords, passkeys & accounts
Googleion.popescu@gmail.com
System
About phone
Step 1
Google
All services
Privacy & security
Step 2
All services
Personal & device safety
Theft protection
Find Hub
Emergency
Step 3
Google › All services › Theft protection

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

Theft protection on Android — four switches that lock the phone in the seconds of a snatch.

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

The protection tools, side by side
What you want to protectThe right tool
Private photos and filesThe 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 appApp pinning (Android) / Guided Access (iPhone)
Your number and its SMS codesThe SIM card's PIN
Messages showing on the lock screenHiding notification content
The phone itself if stolenThe 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?
Yes, if your number matters: without it, the card pulled from the phone works in any other phone and receives your SMS codes. The price is typing the PIN every time the phone restarts or the card is moved.
What do I do if the SIM locked after a wrong PIN?
It asks for the PUK code, not another PIN. The PUK is printed on the card's holder or comes from the carrier — online account or customer service. Don't guess it: after about 10 wrong PUKs the card dies for good and the number moves to a new one from the carrier.
How do I lock WhatsApp on my phone?
On Xiaomi, OnePlus and iPhone (iOS 18+) with the built-in feature: App lock, 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?
You can, but it's weaker than the built-in one: an “app locker” installed later can be removed in seconds and sees everything you open. Use what the phone already has — it works the same and asks for no extra permissions.
Do fingerprint or face replace the PIN?
No — they're shortcuts to the code, not replacements. At restart, after a few failed biometric tries or in sensitive settings, the phone asks for the code anyway. That's why the base PIN needs to be a good one.
Can a child get out of a pinned app?
Not if you turned on asking for the code before unpinning: leaving needs the phone's PIN, pattern or password. On iPhone, Guided Access has its own code — pick one different from the phone's passcode, or whoever knows your passcode gets out of it too.
If I forget the private folder's password, do I lose everything?
It depends on prep: on Samsung, “Reset with Samsung account” unlocks the folder; on Xiaomi, a Mi Account linked beforehand saves it. Without them — and on Pixel, for Private space — a reset wipes all content. That's why you set recovery up before you need it.

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

Locked out of your phone?

We help you regain access legally — bring the phone and your papers.