How to Lock or Restrict Apps in Windows 11 (Built-In Ways)

Which built-in tool can lock an app in Windows 11 depends on your edition and who you’re keeping out. On any edition, give each person a Standard account and use Family Safety for children. On Pro, Group Policy can block named programs, and on school, work or kiosk PCs, AppLocker, App Control for Business or Assigned Access can allow or block apps. None of these puts a password on one app; Windows 11 has no such setting.

What Windows 11 can and can’t restrict

Each built-in method answers a different question: whose apps, which edition of Windows, and how determined the other person is. The last column matters as much as the first.

Goal Built-in method Editions What it can’t stop
Keep a housemate or visitor out of your apps and files Separate Standard account per person All, including Home Anyone who knows your password or PIN
Stop a child opening a game or app Microsoft Family Safety: Block app or app and game limits All Apps not yet installed on the child’s device, which don’t appear in the list
Block a program for a user on your own PC Group Policy: Don’t run specified Windows applications Pro, Enterprise, Education Programs started from Command Prompt, Task Manager or other processes
Allow only approved apps on shared or business PCs AppLocker or App Control for Business Microsoft lists availability on all current Windows 11 editions Administrators, who can change the rules
Turn a PC into a single-purpose kiosk Assigned Access Pro, Enterprise, Education, IoT Enterprise Remote Desktop sign-ins (it applies at the PC itself)

These steps are for current versions of Windows 11. If hiding an app from the Start menu is enough for you, that is a different job, covered in hiding apps on Windows 11; hidden apps still open for anyone who finds them.

Keep your own apps private on a shared PC

The most reliable way to keep someone out of your email, browser and chat apps is to make sure they never sign in as you. Each Windows account has its own desktop, files, browser profile and app sign-ins. Microsoft’s page on managing user accounts in Windows recommends standard user accounts for day-to-day activities, because administrators have complete control over the system.

  1. Sign in with an administrator account and open Settings > Accounts > Other user.
  2. Under Add other user, select Add account. Follow the prompts, or choose Add a user without a Microsoft account for a local account.
  3. To check the account type, select the account’s flyout under Other users and, next to Account options, select Change account type. Leave the other person as a standard user.
  4. Give your own account a password or PIN, and lock the PC whenever you step away. Locking your screen in Windows covers Windows key + L and the other ways.

Example: two roommates share one laptop. Each gets a Standard account, and the owner keeps a separate administrator account for installs. Neither roommate sees the other’s open apps, saved passwords or downloads. For someone who only visits now and then, adding a guest account on Windows 11 sets up a throwaway account instead.

Some apps also have their own lock, documented by their maker:

  • Microsoft Edge can ask for your Windows sign-in before showing or filling saved passwords. Turn on Prompt for the device sign-in options before viewing or filling website password under Settings > Passwords and autofill > Microsoft Password Manager > More settings, as Microsoft explains on its Edge saved passwords page.
  • OneDrive Personal Vault protects files rather than apps. It asks for a second identity check and locks itself after a period of inactivity, per Microsoft’s Personal Vault page. For folders on the PC itself, see password protecting a folder in Windows.

Block or limit an app for a family member

Microsoft Family Safety lets a family organizer block an app or put a time limit on it for a member of the family group. The member needs their own Microsoft account, added under Settings > Accounts > Family. Microsoft’s steps on its block or unblock apps page are:

  1. Sign in at account.microsoft.com/family as a family organizer. Only organizers can block apps.
  2. Select the family member’s tile, then the Windows tab.
  3. Open Apps, features, and games.
  4. Find the app, select the three-dot icon next to it, and choose Block app.
  5. Repeat for each app, each platform (Windows, Xbox, mobile) and each family member.

Two limits catch parents out. The list shows only apps installed on the member’s device, so an app that hasn’t been installed yet can’t be blocked in advance. And blocking is all or nothing; if the goal is “one hour of this game, not zero”, set a limit instead. Microsoft’s app and game limits page puts that under Set time limits > Apps, features, and games > App and game limits in the Family Safety app, and the device has to be connected through the Family Safety app for limits to work.

Give the child a Standard account as well: Microsoft notes that administrators have complete control over the system. When a child grows up and the rules need to relax, easing or removing Family Safety limits walks through the reverse.

Block a program on a Windows 11 Pro PC

Windows 11 Pro, Enterprise and Education include the Local Group Policy Editor, which Microsoft says is not available on Windows Home. Its Don’t run specified Windows applications policy stops Windows from running programs you name. Before you start, know Microsoft’s own limit: the policy only blocks programs started by the File Explorer process. It does not stop programs started by other processes such as Task Manager or Command Prompt. Treat it as a speed bump for casual use, not a security wall.

  1. Sign in as an administrator, press Windows key + R, type gpedit.msc, and press Enter.
  2. Go to User Configuration > Administrative Templates > System.
  3. Double-click Don’t run specified Windows applications and select Enabled.
  4. Select Show next to the list of disallowed applications.
  5. Enter each program’s file name on its own line, for example Winword.exe, then select OK.
  6. Select OK again. If the block doesn’t apply right away, sign out and back in.
Local Group Policy Editor setting that blocks specified Windows applications, enabled with a list of blocked program files
Group Policy can block specific programs by their file names.

Settings made this way in the local editor can reach your own account too, so test with a program you don’t need, and write down every name you add. To reverse it, open the same policy and set it to Not Configured.

Allow-list apps on school, business and kiosk PCs

For PCs that several people use under an organization’s rules, Microsoft offers three heavier tools. They are usually deployed by IT administrators, and a mistaken rule can stop apps you need, so Microsoft’s documentation is the place to plan them.

  • AppLocker “helps you control which apps and files users can run,” according to Microsoft’s AppLocker overview. Rules can allow or block by publisher, path or file hash and target a user or a security group. On a single PC, rules are written in the Local Security Policy editor (secpol.msc), and the Application Identity service must be running. Rules can start in audit-only mode, which logs what would be blocked without blocking it. Microsoft says AppLocker is included with all editions of Windows except Windows 10 version 1809 or earlier, and that Windows 11 no longer needs a specific edition to enforce its policies.
  • App Control for Business is Microsoft’s stronger option. Microsoft describes AppLocker as a defense-in-depth feature rather than a defensible security feature and says organizations that can use App Control instead should do so. Its policies work on all client editions, though the PowerShell tools for building them aren’t available on Home. AppLocker remains the better fit when different users on one shared PC need different rules.
  • Assigned Access sets up a device as a kiosk or with a restricted user experience: one app in full screen, or a short list of allowed apps with a tailored Start menu and taskbar. Microsoft’s single-app kiosk page lists Pro, Enterprise, Education and IoT Enterprise, and starts the setup at Settings > Accounts > Other Users under Set up a kiosk. User Account Control must be on, and the kiosk applies to people signing in at the PC, not over Remote Desktop.

On a work or school PC, these are your IT department’s call. If an app you need is blocked, ask them rather than looking for a way around it.

What these restrictions don’t do

  • They don’t stop an administrator. Anyone with an administrator account can change accounts, policies and rules, which is why other people should have Standard accounts.
  • They don’t encrypt anything. Blocking an app doesn’t protect the files it uses; use separate accounts, Personal Vault or folder protection for that. For files, Office’s Encrypt with Password and BitLocker drive encryption, which Microsoft lists for Pro, Enterprise and Education, are Microsoft’s options.
  • They don’t cut an app off the internet. If the aim is to keep a program offline while still letting it run, see blocking an app from the internet in Windows 10, which uses firewall rules instead.
  • They aren’t per-app passwords. Third-party “app lock” programs exist, but Microsoft doesn’t provide or vet them, and this article sticks to tools built into Windows.

Undo a restriction

  • Family Safety: on the same Apps, features, and games list, select the three-dot icon and choose Unblock app, or turn the app and game limit off.
  • Group Policy: set Don’t run specified Windows applications back to Not Configured, then sign out and back in.
  • Separate accounts: remove an account from Settings > Accounts > Other user once it’s no longer needed, after saving any files the person wants to keep.
  • AppLocker, App Control or Assigned Access: whoever created the policy should remove it, using Microsoft’s documentation for that tool.

App locking answers

Do any of these methods work on Windows 11 Home?

Yes. Separate accounts and Family Safety work on every edition. The Group Policy method doesn’t, because Home has no Local Group Policy Editor, and Assigned Access is not listed for Home.

Can I block a Microsoft Store app?

Family Safety’s list covers apps installed on the family member’s device, so a Store app appears there once it’s installed. On managed PCs, AppLocker has a rule type for packaged apps, which is how Store apps are delivered.

Why does a blocked program still open from Command Prompt?

Microsoft documents that the Group Policy setting only covers programs started by File Explorer. Programs launched by Command Prompt, Task Manager or other processes aren’t covered. If that matters, the tool is AppLocker or App Control for Business.

Is AppLocker or App Control better for a single family PC?

Usually neither. Both are built for IT administrators, and a rule mistake can stop programs you rely on. For a family PC, Standard accounts plus Family Safety cover most needs with far less risk.

Next step: decide whose apps you are protecting and from whom, then start with the first row of the table that fits. For most households that means a Standard account for everyone else and a password on your own.