HomeGuidesTime lock apps for Android: lock an app for two hours, or lock it every evening
Time lock apps for Android: lock an app for two hours, or lock it every evening
A time lock app locks an app for a set duration or on a schedule. Android’s own tools, the apps that hold a timer, and why “app lock” is something else.
By Akshay Vayak10 min readUpdated 8 Nov 2026What changed: On 8 November 2026 the lines about Spark were updated for zones: you link a phone to a Spark, and the zone's hours decide when it is on.
On this page
“Time lock app” means two things. One is a lock you set on yourself for a stretch — lock Instagram for two hours while you study. The other comes on at the same time every day — no games after 9 p.m. Android handles the second reasonably well out of the box and the first badly. This guide covers both, checked against Google’s, Samsung’s and each maker’s own pages, and ends with the thing no listing says: a timed lock you set is one you can usually end.
How do I lock an app for 2 hours on Android?
Not exactly, with Android’s own tools: Focus mode locks apps until you switch it off, and an app timer closes an app for the rest of the day. Neither is a two-hour countdown.
Focus mode: a lock with no timer
- Open Settings, tap Digital Wellbeing, then Focus mode. Menu names vary by maker; search Settings for “Focus” if needed.
- Choose the apps to pause and tap Turn on now. While Focus mode is on, Google says, you can’t use these apps and won’t get notifications from them.
- When your two hours are up, tap Turn off now.
There is no countdown; you are the timer. And while it is on, a Take a break button on the same screen pauses the block for a time you choose. For someone who only needs a reminder of what they decided, this is enough. For someone who has switched off every blocker they have tried, it is the same exit in a new place.
App timers: a daily budget, not a lock
An app timer answers a different question. Settings → Digital Wellbeing → App timers sets a limit per app; when it runs out, Google says, the app closes and its icon dims, and timers reset at midnight. It is a budget of minutes for the day, not a window of hours. Set a tiny limit and let it run out and you have a crude lock — until midnight, not for two hours — and to get the app back sooner, Google’s own instruction is to delete the timer.
The apps that hold a real timer
A timed lock needs a timer the app refuses to let you cancel. That is what a strict mode is, and each of these documents one. Prices are a shape, not a figure, as of October 2026.
- Stay Focused (from an Indian developer) blocks during hours you choose or once a daily limit is used up; its Strict Mode, in the maker’s words, locks your blocks until the timer runs out so there is no quick way to switch them off. Free to download; Premium is a subscription.
- AppBlock has a Quick Block for an on-the-spot block, and a Strict Mode locked behind a timer (it deactivates when the time is up), a PIN, a charger, a cooldown wait or a trusted contact’s approval, during which it can block the Settings app and its own uninstall. The free version caps Strict Mode at 24 hours; Premium removes the limits.
- Regain runs a focus timer whose Strict Mode blocks early exits, and daily app limits which, once Strict Mode is on, cannot be edited or disabled until the time ends. It documents uninstall prevention. Free with in-app purchases.
- Forest is a timer first: pick a focus length, plant a tree, and it withers if you leave. Deep Focus, free on every tier, pulls you back when you switch apps and cannot be turned off mid-session; Give Up kills the tree. An allow list of apps you may still open is a paid Plus feature. Free with ads outside sessions; Plus is a subscription.
What its strict mode, focus timer and limits do, and what it asks for.
Read thisHow do I lock apps every evening?
Use Focus mode with a schedule: pick the apps, tap Set a schedule, and choose the days and times. It is the one built-in feature that does what “lock apps at certain times” means, and it starts on its own. Samsung phones add a route through Modes and Routines, where a custom mode that turns on automatically can enable a Stay focused option with Restrict app usage. Stay Focused, AppBlock and Regain run schedules too; AppBlock’s Strict Mode can follow them, ending only when no schedule is active.
Block apps at certain times on AndroidThe schedule route step by step, the Samsung version, and why Bedtime mode and app timers are not it.
Read thisCan I lock the phone to one app? Screen pinning
Yes, crudely. Turn on App pinning under Settings → Security (on some phones under Advanced), open the app you want to stay in, open the Overview of recent apps, tap the app’s icon and tap Pin. Once pinning is on, Google says, you need your PIN, pattern or password to unpin — swipe up and hold with gesture navigation, or hold Back and Overview together with three buttons; the steps differ on older versions. Pin a PDF reader and the phone cannot wander until you unpin. It does not block the apps you avoid, there is no timer, and the PIN is your own.
Time lock tools compared
| Tool | Timed lock (set hours) | Schedule | Strict mode | What ends it early | Price shape |
|---|---|---|---|---|---|
| Focus mode (Digital Wellbeing) | No timer; on until you turn it off | Yes | No | Turn off now, or Take a break | Built in |
| App timers (Digital Wellbeing) | No; a daily budget, reset at midnight | No | No | Deleting the timer | Built in |
| Screen pinning | Holds the phone on one app; no timer | No | No | Unpin with your own PIN | Built in |
| Stay Focused | Yes; locks blocks until the timer runs out | Yes | Yes | Safe Mode | Free; Premium subscription |
| AppBlock | Yes; Quick Block, Strict Mode on a timer | Yes | Yes: timer, PIN, charger, cooldown or approval | Safe Mode; free Strict Mode capped at 24 hours | Free with limits; Premium |
| Regain | Yes; focus timer with Strict Mode | Yes | Yes; limits cannot be edited until the time ends | Safe Mode | Free with in-app purchases |
| Forest | Yes; a session of a chosen length | No | Deep Focus cannot be turned off mid-session | Give Up, which kills the tree | Free with ads; Plus subscription |
“App lock” is a different thing: a PIN on an app
If you searched “app lock”, “phone lock app” or “app lock kaise lagaen”, you probably do not want any of the above. An app lock is a privacy lock: a PIN, pattern or fingerprint somebody else has to get past to open your WhatsApp or gallery. It locks the app against other people, not against you, and has no timer.
- Third-party app locks such as AppLock by DoMobile — which describes itself as an app lock launched in 2012 — put a PIN in front of apps you choose. You know the PIN, so it does nothing for your own scrolling.
- Samsung : the built-in route is Secure Folder, a Knox-protected private space you lock with a PIN, pattern, password or biometrics and move apps into. Samsung says it is on most Galaxy phones and tablets; open the Secure Folder app, sign in with a Samsung account and choose a lock method.
- vivo : vivo India’s support site lists “How to set app lock?”, “How to disable App lock?” and “Set privacy password” under Privacy & app encryption; the menu path depends on your Funtouch OS or OriginOS version.
- Other skins : search Settings for “app lock”; the name varies by maker and version. A “lock screen app” is a third thing — it changes the screen you unlock the phone with — and has nothing to do with either.
Every way to block an app on Android, built in and third party, and which to try first.
Read thisDoes a time lock you set actually hold?
Usually not against a determined version of you. A strict mode makes the app refuse to end its own timer; it cannot stop Android from ending the app. Restart a Galaxy phone in Safe mode — hold Volume down as the Samsung logo appears, or touch and hold Power off in the power menu and tap Safe mode — and, in Samsung’s words, your device won’t run any third-party apps. The blocker is one of them. None of this makes the apps useless; each adds friction, and friction is most of what a lock is. It is just worth knowing where the exit is before you build a study plan on it.
Why app blockers stop workingThe exits every software blocker shares, and what a blocker can and cannot do about them.
Read thisSpark takes a different route: the lock is a place, not a time. It is a small Bluetooth device that makes a focus zone; a phone linked to it has its chosen apps locked within moments of coming near it, and gets them back within moments of moving out of range — about a room, less through walls. The zone’s hours decide when it is on, so a Spark on the study desk can lock Instagram from 7 to 10 p.m. only, and there is no Take a break button. What it does not do: it will not lock an app for two hours while you carry the phone around, because walking away ends the lock; it is not cryptography, so a phone that stops hearing Spark — the coin cell pulled, say — treats that like walking away; and on Android, Safe Mode gets past its Strict mode like everyone else’s. The app is free, with no subscription; Spark Zone links up to 5 phones.
Common questions
How do I lock Instagram for 2 hours?
Android has no built-in two-hour countdown. Focus mode locks Instagram until you tap Turn off now, and an app timer closes it until midnight once its minutes run out. For a lock that holds a timer, use a blocker with a strict mode — Stay Focused, AppBlock or Regain — and set it to two hours before you start.
What is the difference between an app timer and a time lock?
An app timer is a daily budget: thirty minutes of YouTube, then the app closes until midnight. A time lock is a window or a countdown: no YouTube between 7 and 10 p.m., or for the next two hours. Focus mode provides the window; only third-party strict modes provide a countdown you cannot cancel.
Can I lock apps for a certain time without installing anything?
Yes, for a window: Focus mode with a schedule blocks the chosen apps during the days and times you set. What you cannot do without an app is make the window impossible to end early — Take a break and Turn off now are always there.
App lock kaise lagaen — how do I put a lock on an app?
The Hindi query means a PIN lock on an app so other people cannot open it — a privacy feature, not a time lock. On a Samsung, use Secure Folder: open the app, sign in with your Samsung account, choose a lock method and move the apps in. On a vivo, the feature is called App lock, under Privacy & app encryption on vivo’s India support site. On other phones, search Settings for “app lock”.
Is there a phone lock app that locks the whole phone for a set time?
Screen pinning is the built-in version: it holds the phone on one app until you unpin it with your PIN. AppBlock’s Strict Mode on a timer can cover every app you add. For a lock software cannot end, the only option is a timed lock box, which takes calls and maps with it.
Sources
- Android Help: Manage how you spend time on your Android phone with Digital Wellbeing — App timers close the app, dim its icon and reset at midnight; deleting the timer restores the app; Focus mode’s Turn on now, Set a schedule and Take a break
- Android Help: Pin & unpin screens — App pinning setup, pinning from Overview, unpinning with your PIN, pattern or password, and the Android 11 and 8.1 notes
- Samsung: Use Safe mode on your Galaxy phone or tablet — In Safe mode the device won’t run any third-party apps; the two ways to enter it
- Samsung: What is the Secure Folder and how can I use it? — A Knox-protected private space locked with PIN, pattern, password or biometrics; setup; available on most Galaxy phones and tablets
- vivo India support: Privacy & app encryption FAQs — Lists “How to set app lock?”, “How to disable App lock?” and “Set privacy password”
- Stay Focused: official site — Blocks during chosen hours or after a daily limit; Strict Mode locks blocks until the timer runs out; free to download, Premium by subscription
- AppBlock Help: Strict Mode and unblocking — Timer, PIN, charger, cooldown, approval and follow-schedules unlocks; blocking Settings and uninstall; the free version’s 24-hour Strict Mode limit; stopping Quick Block
- Google Play: Regain — Study Timer for Focus — Focus timer with Strict Mode that blocks early exits; app limits that cannot be edited until the time ends; uninstall prevention; in-app purchases
- Forest: official site — Pick a focus length; Deep Focus pulls you back and cannot be turned off mid-session; Give Up kills the tree; allow list is a Plus feature; free tier with ads, Plus subscription
You set the hours it locks

More from the guides
How to block apps at certain times on Android
Focus mode on a schedule is the built-in way — app timers and Bedtime mode are not. The steps, the Samsung version, and the schedules that survive a killed app.
Read the guideGetting startedHow to block apps on Android: every method, honestly ranked
How to block apps on Android: Digital Wellbeing timers, Focus mode, a second user profile, launchers and a physical device, and where each one gives way.
Read the guideFocus in practiceRegain app blocker: what the Indian screen-time app does, what it costs, and where it gives way
Regain is a free Android app blocker and study timer from EpowerX Labs, Bengaluru, with Strict Mode, Reels blocking and a Pro subscription. Where it stops.
Read the guideFocus starts where Spark is.
Spark locks your own phone when you choose. A Spark Zone locks it by place, in its room during the hours its owner sets, and the place decides, not your willpower in the moment. The app is free; the device is the one-time buy.