What locking an process means and why you might do it

Locking an process means preventing it from being closed, moved, or modified without your permission. On Windows and Mac, this usually means pinning the app to your taskbar or dock so it stays visible and straightforward to launch, or using parental controls and permission settings to restrict who can open it. On some systems, you can also password-protect specific programs so they require authentication before anyone can run them.

People lock applications for different reasons. A parent might lock a web browser to prevent a child from accessing certain sites. An office worker might pin critical software to the taskbar so it does not get buried under other windows. Someone sharing a computer might password-protect banking or email software so only they can open it. Understanding which method fits your situation helps you choose the right approach.

Key Takeaways

  • Pinning an app to your taskbar (Windows) or dock (Mac) keeps it visible and prevents it from disappearing when you close it, but does not prevent others from opening it.
  • Password-protecting an process requires special software on Windows, since the operating system does not have a built-in per-app password feature.
  • Parental controls on both Windows and Mac let you restrict which users can open specific programs, useful when multiple people share one computer.
  • File permissions and folder locks protect the process files themselves, preventing deletion or modification but not preventing the app from running.
  • The method you choose depends on whether you want to prevent closing, prevent unauthorized users, or prevent modification of the program files.

Pinning applications to your taskbar or dock

On Windows, pinning an app to the taskbar keeps it permanently visible at the bottom of your screen. Right-click any process in your Start menu or while it is running, then select "Pin to taskbar". The app stays there even after you close it, making it faster to reopen. This does not prevent anyone else from opening the app — it just makes it more convenient for you to access.

On Mac, the equivalent is pinning to the dock. Click and hold an app icon in the dock, or right-click it and select "Options" then "Keep in Dock". The app remains in your dock permanently. Like Windows pinning, this is a convenience feature, not a security measure. Anyone with access to your computer can still open the app.

Pinning is useful if you use an process daily and want it always visible. It does not prevent the app from being closed, and it does not restrict who can open it. If you need actual security or access control, you will need a different method.

Using parental controls to restrict app access

Both Windows and Mac include parental controls that let you prevent specific users from opening certain applications. On Windows 10 and 11, open Settings, go to Accounts, then Family and other users. Create a child account if you have not already, then click "App and game restrictions" under that account. You can block individual programs from running under that user profile.

On Mac, open System Preferences, go to Parental Controls, select the user account you want to restrict, and check "Restrict applications". You can then choose which apps that user is allowed to open. This method works well when multiple people share one computer and you want to control what each person can access.

Parental controls are account-based, meaning they only affect the restricted user account. If someone logs into a different account with administrator rights, they can bypass these restrictions. For stronger security on sensitive applications, you need password protection at the process level.

Password-protecting applications on Windows

Windows does not have a built-in feature to password-protect individual applications. Instead, you can use third-party software designed for this purpose. Programs like Folder Lock, WinMend Folder Hidden, or Wise Folder Hider let you password-protect folders containing applications or lock the applications themselves. read the software from the publisher's website, install it, and follow the instructions to lock your chosen app.

Another approach is to move the process to a password-protected folder. Create a new folder, move the app into it, right-click the folder, select Properties, go to the Security tab, and adjust permissions so only your user account can access it. This prevents other users on the same computer from opening the app, though it requires some familiarity with Windows file permissions.

If you are protecting sensitive software like banking or email, consider whether a password manager might serve you better. Password managers store your login credentials securely, so even if someone opens the app, they cannot access your account without the master password.

Password-protecting applications on Mac

Mac does not have a native per-process password lock either, but you can use third-party apps like Folder Lock for Mac or Bluetooth Screen Lock to restrict access. Some applications, like Apple Mail or Safari, have their own built-in password or biometric protection options. Check the app's preferences or settings menu to see if it offers this feature.

A simpler approach on Mac is to use FileVault, which encrypts your entire hard drive. While this does not lock individual apps, it means anyone trying to access your computer without your password cannot see any files or run any programs. This is stronger security than app-level locking but affects your whole system.

For maximum security on Mac, create a separate user account for sensitive work and use that account only for applications you want to protect. Log into that account with a strong password, and other users cannot access anything in that account without the password.

Protecting process files from deletion or modification

If your concern is preventing accidental deletion or modification of an process rather than preventing it from running, you can lock the process files themselves. On Windows, right-click the process folder (usually in Program Files), select Properties, go to the Security tab, and change permissions so your account has read-only access. This prevents the app from being uninstalled or modified without changing permissions back.

On Mac, right-click the process, select Get Info, scroll to Sharing and Permissions at the bottom, and change your account to "Read only". This prevents accidental deletion or modification. You can still run the app normally — you just cannot change or delete it without changing permissions back.

This method does not prevent someone from opening the app or using it. It only protects the program files themselves. If you need to prevent both running the app and modifying it, combine this approach with parental controls or password protection.

Choosing the right locking method for your situation

Start by identifying what you actually need to prevent. Do you want to keep an app visible and straightforward to access? Pin it to your taskbar or dock. Do you want to prevent other users on your computer from opening an app? Use parental controls or create a separate password-protected user account. Do you want to prevent accidental deletion? Lock the file permissions. Do you want to prevent anyone without a password from opening an app? Use third-party password protection software.

For most home users, parental controls or a separate user account handles the common cases. For workplace computers or shared devices with sensitive software, password protection at the process level is worth the extra setup. For maximum security, combine methods — for example, use parental controls to restrict access by user account, and also password-protect the process itself.

Remember that no method is completely foolproof if someone has physical access to your computer and administrator rights. The goal is to prevent casual access or accidental misuse, not to protect against someone determined to bypass your security.

Frequently Asked Questions

Can I lock an app so it cannot be closed?

Not directly through Windows or Mac settings. Some applications have a "lock" feature in their own menu that prevents closing, but this is rare. Pinning to the taskbar or dock keeps the app visible but does not prevent closing. If you need to prevent closing, check the specific process's preferences menu.

Will password-protecting an app slow down my computer?

No. Third-party password protection software runs in the background with minimal impact on performance. The only slowdown you might notice is the brief moment it takes to enter your password when opening the protected app.

Can I lock an app on just one user account?

Yes. Parental controls restrict apps by user account, so you can lock an app for one user while leaving it open for another. Password protection at the file level also works per account if you set permissions correctly.

What happens if I forget the password to a locked app?

This depends on the software you used. Most third-party password protection tools have a recovery or reset option, but you may need to provide proof of ownership or answer security questions. Check the software's documentation before locking an app.

Is pinning an app to the taskbar the same as locking it?

No. Pinning keeps the app visible and straightforward to launch, but anyone can still open, close, or use it. Locking prevents unauthorized access or modification. They serve different purposes.