To lock an app or a website on the web, you do not need a third-party app: Android's Digital Wellbeing, iPhone's Screen Time, and your browser's own parental controls can all block or limit access. "App lock web" usually means one of two things: locking apps so they require a PIN or biometric check before opening, or blocking specific websites in a browser. The steps below cover both, starting with the phone's built-in tools because they are the most reliable and require no extra downloads. Menu labels vary slightly by version, device and region, so treat the exact wording as a guide rather than a guarantee.

What You'll Need

  • Your phone or computer with a screen lock already set (PIN, password, pattern, or Face ID/fingerprint). App locks depend on this.
  • About 10 minutes to set up, plus the PIN or passcode you will use for the lock.
  • If you are locking devices for a child, access to the parental controls on their device or your family account.
  • Optional: a browser that supports site blocking or profiles, such as Chrome, Edge, Safari or Firefox.

Step-by-Step

  1. Decide what you are actually locking. There is a difference between locking an app so it needs authentication each time it opens, and blocking a website so it cannot load at all. Many phones handle app locking through Digital Wellbeing or Screen Time, while website blocking lives in the browser or in parental controls. Choose the goal first so you do not set up the wrong tool.
  2. On Android, open Digital Wellbeing. Go to Settings and find Digital Wellbeing & Parental Controls. If you do not see it, your phone manufacturer may use a different app with a similar name, or the feature may not be included. From there, open App Timers or App Limits and set a very short daily limit for the app you want to restrict. When the limit is used up, the app is paused for the rest of the day.
  3. Add the Screen Time or app timer widget to your home screen. Long-press an empty space on your home screen, choose Widgets, and look for your Digital Wellbeing or Screen Time widget. On Android, the Digital Wellbeing widget can show timers and let you pause apps quickly. Widgets differ by launcher and manufacturer, so the exact name may vary.
  4. Use your phone's built-in App Lock if your manufacturer offers one. Some Android phones include a separate App Lock feature, often under Settings > Security or Settings > Privacy. It usually lets you choose apps and require a PIN, pattern or fingerprint each time they open. If your phone does not have this, do not install alternative app stores to find one; use Screen Time or Digital Wellbeing instead, or ask the manufacturer's support page.
  5. On iPhone, open Screen Time. Go to Settings > Screen Time. If it is off, turn it on. Then choose App Limits > Add Limit, select the app category or specific apps, and set a short time limit. You can also use Downtime to block apps during set hours, such as overnight.
  6. Set a Screen Time passcode. In Screen Time settings, choose Use Screen Time Passcode and set a four-digit code different from your unlock code. This is what prevents the limit from being removed casually. If you are setting this up for a child, use Family Sharing so the passcode is not on their device.
  7. Lock websites in your browser. On Chrome or Edge on a computer, sign in and open the browser's settings, then look for the privacy or family section. Chrome and Edge offer supervised profiles or family link settings that can block specific sites. On Safari, go to Settings > Screen Time > Content & Privacy Restrictions > Content Restrictions and set allowed websites. The exact menu wording differs between iOS versions, so check the current Apple support page if you cannot find it.
  8. Test the lock before relying on it. Close the app completely, reopen it, and confirm the lock or limit kicks in. Then visit a blocked site in the browser and check that it is refused. A quick test now saves confusion later, especially if a timer was set for the wrong app.
  9. Record your passcode somewhere safe. Write the Screen Time passcode or app lock PIN in a password manager. If it is lost and you are using Family Sharing, only the family organizer can reset it, so a backup copy matters.

Common Mistakes

The most common mistake is confusing an app timer with an app lock. A timer only pauses an app after a set amount of use; it does not ask for a PIN each time. If you want a prompt every time, you need a device feature that genuinely locks the app, such as a manufacturer App Lock or a biometric requirement.

Second, people set a limit but leave the Screen Time passcode the same as the device unlock code, or do not set one at all. That makes the limit easy to remove. Third, locking a browser without checking the phone's other browsers: if two browsers are installed, blocking sites in one does nothing in the other, so restrict each browser or use system-level content restrictions. Finally, forgetting that a lock on a phone does not extend to a tablet, laptop or smart TV signed into the same account; each device needs its own settings.

Tips

Set limits slightly below the time you actually want to allow, since usage can spill into the next session. Use Downtime or scheduled timers for recurring blocks, such as social apps during work hours, rather than adjusting daily. On shared family devices, set parental controls on the device rather than only in one browser profile, because profiles are easy to switch away from. Keep the passcode in a password manager, not on a sticky note beside the device. If you need to block the same set of sites on several devices, use a family account that applies rules centrally, such as Google Family Link or Apple Family Sharing, so you are not repeating the setup on each one.

Troubleshooting

If the app still opens freely, restart the phone and check for a software update; both fix many cases where limits fail to apply. Confirm the app is in the list you limited, and check whether the timer was already used up earlier in the day. If a limit disappears on its own, make sure the Screen Time passcode is set and that no one else in the family can turn it off.

If a website still loads in the browser, try the same address in a private window. Private browsing may bypass some browser-level restrictions, which is why parental controls at the system level are stronger. Clearing browser history and cookies can reset site permissions, so do that only after noting any saved logins. If a website is required for work or school, use an allowlist rather than blocking everything, and check that the site works after allowing it.

If you have forgotten the Screen Time passcode, Apple's support pages explain the reset process, which may require the Apple ID details used to set it. Before any reset, note that resetting removes your existing limits and restrictions until you set them again.

Frequently Asked Questions

Can I lock a specific app with a PIN without installing anything?

Only if your phone's built-in software includes that feature, for example a manufacturer App Lock or a biometric prompt. Otherwise use Screen Time or Digital Wellbeing limits, which pause use rather than prompting for a code.

Does blocking a site in one browser block it everywhere?

No. Website blocks apply to the browser or system level where you set them. To cover every browser on the device, use system-level content restrictions or parental controls.

Can I lock a browser on a computer as well as a phone?

Yes, but separately. Desktop browsers offer their own supervised profiles and family settings, and operating systems have their own parental controls. You need to set each one.

Will app timers work offline?

Generally yes, because the timer is stored on the device. Scheduling and family features may need a connection to sync changes between devices.

Is third-party app lock software safe?

Stick to tools from your phone manufacturer or your device's official app store. App lock tools often ask for broad permissions, so a built-in option is usually safer.