It happens all the time: you hand someone your phone to look at a photo, make a quick call, or let a kid play a game, and it comes back with your gallery, WhatsApp, or things they had no business in left open. The fix isn't hovering over whoever is holding your phone. It's a feature Android has shipped for years called screen pinning: it locks the phone to the app you opened, and nobody can leave it or open anything else without your lock-screen code. This guide walks through enabling it on every major interface, using it correctly, and its honest limits so you don't lean on it for more than it does.
What exactly is screen pinning?
When you pin an app, the phone stays inside that app only: the back button, home button, and recents overview stop working, so there's no leaving the app and no opening another one. Unpinning takes a specific gesture (covered below), and if you enable the extra security option, that gesture lands on your lock screen asking for your PIN or fingerprint.
Don't confuse it with app lock: screen pinning restricts the whole phone to one app that's already open, while fingerprint app lock protects specific apps when they're closed. The two complement each other, and we covered app lock in detail here: locking apps with your fingerprint using your phone's own settings.
Before you start: two requirements
An active screen lock: you need a PIN, pattern, or password on the phone for the "ask for unlock code before unpinning" option to work. Without a screen lock the feature still runs, just unprotected.
A reasonably modern Android version: the feature has existed since roughly Android 5, so almost any phone in use today has it. The name and path differ slightly by interface, which the table below sorts out.
Enabling the feature by interface
The principle is the same: look for an option named "App pinning", "Pin windows", or similar inside your security settings. This table sums up the common paths:
Interface | Settings path | Option name |
|---|---|---|
Stock Android / Pixel | Settings → Security & privacy → More security & privacy | App pinning |
Samsung One UI | Settings → Biometrics and security → Other security settings | Pin windows |
Xiaomi / HyperOS / MIUI | Settings → Fingerprints, face data, and screen lock (or Passwords & security) → Privacy | Pin app |
Huawei / Honor | Settings → Security → More settings | Screen pinning |
If you can't find it on these paths, open Settings and search for "pin" and it surfaces immediately.
The step everyone forgets: inside the feature's own settings there's an option named "Ask for PIN before unpinning" or "Lock device when unpinning" — turn it on. Without it, anyone holding the phone can unpin with a simple gesture and the feature is decoration only.
How to pin an app before handing over the phone
Open the app you want the other person to use (gallery, a game, the browser, anything).
Open the recents overview (the square button, or swipe up and hold depending on your navigation).
Tap the app icon at the top of its card (on some interfaces: long-press the card itself or its three-dot menu).
Choose "Pin" or the pin icon — a confirmation appears; tap "Start" or "OK".
Hand over the phone comfortably. Whoever holds it stays inside that app only.
How to unpin when you get the phone back
The unpin gesture depends on your navigation mode:
Navigation mode | Unpin gesture |
|---|---|
Gesture navigation | Swipe up from the bottom of the screen and hold for a second |
Two-button navigation | Long-press Back and Home together |
Three-button navigation | Long-press Back and Recents together |
If you enabled the security option, that gesture brings up your lock screen — unlock with your PIN or fingerprint and the phone is back to normal.
Practical use cases
Kids: pin the game or YouTube Kids, and the child can't leave it to buy things, open WhatsApp, or delete apps.
Showing photos: instead of handing over the phone and worrying they'll swipe through your whole gallery, pin the photos app (and mind the content caveat in the limits section below).
Lending the phone for a call: open the dialer and pin it; they talk freely and can't wander anywhere else.
Maps while driving: pin Google Maps so a stray touch doesn't kick you out of navigation mid-route.
The feature's honest limits
The pinned app is fully usable inside: if you pin the gallery, whoever holds the phone can browse every photo and video in it. Pinning blocks leaving the app; it doesn't lock the app's own content.
Notifications may still show: on some interfaces notifications keep dropping in even while pinned, so if you get private notifications, mind this before handing the phone over.
Not a replacement for real protection: for sensitive apps (banking, WhatsApp, private photos) use app lock or guest mode / a second user. Pinning is a quick fix for hand-over moments, not a permanent security system.
Core system functions keep working: incoming calls still appear on most interfaces, and the power button works.
Bottom line
Screen pinning is one of those Android features that's been around for years yet plenty of people have never heard of. One minute in Settings (with the ask-for-lock-code option — don't skip it) and you can hand your phone to anyone without the usual worry. Use it for what it is: temporary restriction to one app, and leave permanent protection to app lock and guest mode.





