Lock Directory Complete Guide 2026
To lock a directory is to stop other people, accounts or programs from seeing, entering, changing or reading a folder and everything in it. Windows 11 and 10, macOS 13 and newer, and Linux each give you different tools for that, and the tools protect against four different problems.
The right way to lock a directory depends on who you are locking it from. Hide it to avoid casual browsing, set permissions to keep out other accounts, make it immutable to block edits, and encrypt it when someone could copy the disk. Only encryption protects a stolen drive.
| Applies to | Windows 11 and 10, macOS 13 or newer, Linux on ext4, xfs or btrfs |
|---|---|
| Time needed | About 5 minutes for a permission or flag, 15 minutes for an encrypted locker |
| Difficulty | Easy for flags, moderate for permissions and encryption |
| Cost | Free with built-in tools; a free 1 GB tier exists for dedicated software |
| Needs admin rights | Yes for Windows permissions and Linux chattr |
| Last verified | November 2026 |
Lock Directory — Complete Guide
A lock directory request means one of four jobs: hiding the folder, restricting who may enter it, freezing its contents against edits, or encrypting it. Windows 11, macOS 13 and Linux ship some of these tools but not all of them. Matching the lock to the threat is the whole skill.
Most pages on this subject treat "lock a folder" as a single action. It is four. A hidden folder is still wide open to anyone who knows where to look. A permission blocks other accounts but not an administrator, and not anyone who boots the disk in another machine. A read-only flag protects against your own mistakes. Only encryption turns the contents into noise for someone who holds the drive.
We call the four jobs the Lock Ladder, and the rule that goes with it is short: choose the lowest rung that stops the threat you can actually name, and climb a rung only when that named threat can walk around the one below.
| Rung | What it does | Stops | Does not stop | Typical tool |
|---|---|---|---|---|
| 1 Hide | Removes the name from normal views | Casual browsing, a child clicking around | Anyone who shows hidden files or types the path | Hidden attribute, leading dot |
| 2 Restrict | Lets only named accounts enter | Other standard accounts on the same machine | Administrators, root, a disk read elsewhere | NTFS permissions, chmod |
| 3 Freeze | Blocks edits and deletes | Accidents, scripts that overwrite files | The owner clearing the flag, a disk read elsewhere | Immutable bit, Locked flag |
| 4 Encrypt | Scrambles contents with a key | Theft of the laptop, a copied drive, a shared backup | Malware running while the folder is open, a forgotten key | EFS, encrypted image or locker |
If you share a PC at home
Rung 2 usually covers it. A permission rule keeps a sibling's account out of your tax folder, and it costs nothing. Add rung 4 only if the machine also has guests with administrator rights.
If client files travel on a laptop
Rung 4 is the floor. A laptop left in a taxi falls outside every permission you set, because permissions live inside the operating system that the thief simply bypasses.
If you only want to stop accidents
Rung 3 is enough. Freezing a folder of finished invoices or archived photos prevents a stray delete, and you can lift the lock in seconds when you need to edit.
How Lock Directory Works — Step-by-Step
When a program opens a locked directory, the operating system runs four checks in order: whether the name is visible, whether the account has permission, whether an attribute such as read-only applies, and whether the content needs a key. The first check that fails ends the request.
Each rung of the Lock Ladder lives at one of these checks, which is why stacking rungs works and why a single rung leaks. Hiding acts at check 1 and nothing else. Permissions act at check 2. Immutable flags act at check 3. Encryption acts at check 4, and it is the only one that still holds when the disk sits in a different computer.
How Windows decides who may enter a directory
Windows stores a list of access control entries on each NTFS folder. Entries marked deny are evaluated before entries marked allow, so a single deny rule beats any grant that follows. The icacls command writes these entries, and its output uses short masks: F for full control, M for modify, RX for read and execute, R for read, W for write, D for delete.
Inheritance flags decide how far a rule travels. (OI) applies it to files below the folder, (CI) to subfolders, and (IO) limits it to children only. Raymond Chen of Microsoft has pointed out a trap: the Security dialog's Delete deny writes a different access mask than icacls does, so two ACLs that look identical can behave differently. Build and undo a rule with the same tool.
Build an icacls deny rule
Choose who, what and how far. The command and its undo line update as you click.
icacls "C:\Private" /deny Users:(OI)(CI)(R)
REM undo:
icacls "C:\Private" /remove:d UsersTakes effect right away for new access attempts. Deny entries sort ahead of allow entries, so this overrides any grant for that account.
What a flag adds on Linux and macOS
Both systems keep a second layer beside permissions. On Linux, chattr +i sets the immutable bit, and the kernel then refuses to modify or delete the file even for root until the bit is cleared. On macOS, the Locked box in Finder is the user-immutable flag, which chflags uchg sets from Terminal. The full commands and their limits are in the guide to locking a directory on Mac and Linux.
Best Free Methods for Lock Directory
Four free methods cover most needs without installing anything: attributes to hide, NTFS permissions to restrict, a password-protected archive, and Windows EFS on Pro editions. Each protects against a different threat, and only the archive and EFS survive someone copying the disk.
Lock directory step by step with NTFS permissions
NTFS permissions are the native answer on Windows 11 and 10, and they work on any NTFS folder in a few minutes. FAT32 and exFAT drives carry no permission lists at all, which is why a USB stick formatted that way cannot be restricted this way.
Open the Security settings
Right-click the folder, choose Properties, open the Security tab and click Advanced.
Stop inheriting from the parent
Click Disable inheritance and choose to convert inherited permissions into explicit ones. The folder now owns its list.
Remove the accounts to shut out
Delete the Users and Authenticated Users entries. Keep SYSTEM, Administrators and your own account so Windows and backups still work.
Test as another account
Sign in as a standard user and try to open the folder. An access-denied message confirms the rule.
- Difficulty and time
- Moderate, about 5 minutes.
- Security level
- Stops other standard accounts. An administrator can take ownership, and a disk read in another computer ignores the list.
- Best for
- Shared family PCs and office machines where each person has an account.
Limits
- No effect on FAT32 or exFAT drives
- Easy to lock yourself out with a deny rule
- Does not hide the folder name
Strengths
- Free and built in
- Applies to every file below the folder
- Reversible with one command
Lock directory free with the hidden and read-only attributes
The attrib command sets flags in seconds: attrib +h +s "C:\Private" hides the folder and marks it as a system item, and attrib -h -s "C:\Private" reverses it. Anyone who enables "Show hidden files" in File Explorer, or types the path, sees the folder again, so this method belongs on the lowest rung.
The read-only flag is weaker than it looks on a folder. Windows ignores it for the folder itself and uses it only as a marker for customization. For real protection against edits, deny the Write and Delete permissions with icacls instead.
If the directory holds anything you would not want a relative to read, skip this method. A hidden folder protects nothing.
Lock directory for beginners with a password-protected archive
Windows can zip a folder but cannot put a password on the zip. A free archiver such as 7-Zip can: add the folder to an archive, set the format to 7z, choose AES-256 as the encryption method, and tick the box that encrypts file names. Delete the original afterwards, and empty the Recycle Bin.
The cost is workflow. You extract the archive to edit anything, then re-pack it, and the extracted copy sits unprotected until you delete it. That makes archives a good fit for files you rarely touch, such as last year's tax return.
Lock directory on Windows 10 and Windows 11 with EFS
Encrypting File System attaches an encryption key to your Windows account. Open the folder's Properties, click Advanced on the General tab, and tick "Encrypt contents to secure data". Microsoft documents EFS for NTFS volumes on Pro, Enterprise and Education editions, so Windows Home has no such option.
EFS ties files to a certificate in your profile. Reinstall Windows or lose the profile without exporting that certificate, and the files stay encrypted for good. Windows offers to back it up the first time you encrypt.
Common Mistakes With Lock Directory
The most expensive mistakes are denying Everyone, trusting the hidden flag, relying on a batch-file locker, and encrypting without a saved key. The first locks the owner out, the second and third give a false sense of safety, and the fourth turns a backup problem into permanent data loss.
Myth
Hiding a folder keeps it private.
Fact
Hidden is a display preference. One checkbox in File Explorer, or a typed path, reveals the folder to anyone at the keyboard.
Myth
A permission rule protects files if the laptop is stolen.
Fact
Permissions are enforced by the operating system that boots from the disk. A thief reading the disk elsewhere never meets them. Encryption does.
Denying Everyone read access also blocks your own account, because deny rules beat allow rules. Deny a specific group such as Users, and keep the undo command next to the original.
Many free "folder locker" scripts circulate as batch files that rename a folder and ask for a password. The password sits in plain text inside the script, so anyone who opens the file in Notepad reads it, and the folder is usually one rename away from visible.
Locking a directory that syncs to cloud storage protects only the local copy. The synced copy lives under the cloud account's rules, and deleted sync history can keep older versions.
Using takeown with the /d Y switch on a whole tree can reset permissions to full control for the current user only. Run it on a single directory you own and check the result before repeating it elsewhere.
Is Lock Directory Enough? What Else to Do
A lock on one directory is enough when the threat is a nosy account or an accidental delete. It is not enough for a lost laptop, a leaked backup or malware that runs while the directory is open. Those cases need drive encryption, an offline backup and a stored recovery key.
Directory exposure scorecard
Six quick questions. Each answer scores 0, 1 or 2 points, so the total runs from 0 to 12.
Answer all six questions to see where you stand: low, moderate or high exposure.
Your hardening checklist
Tick each item as you finish it. The count updates and the list prints cleanly.
0 of 7 done
Your ticks stay in this browser and the list prints cleanly.
A lock changes who can reach the files on one machine. It does not change how many copies exist or where they sit. A directory protected on the laptop but sitting unencrypted in a cloud backup is protected in only one of its two homes.
What to Look for in Folder Lock Software
Dedicated folder lock software earns its place only when it offers something the built-in tools lack: encryption that follows the files, a recovery path stated in plain words, and honest limits. Check five things before installing, starting with whether the vendor names the cipher and the key size.
A named cipher. Look for AES with a stated key size, such as 256-bit. A page that says only "military-grade" has told you nothing you can verify.
Where the lock is enforced. Encryption protects the bytes. A guard that only changes attributes behaves like the free tools on rungs 1 to 3, so know which one you are buying.
A recovery statement. Good vendors say what happens to a forgotten password. A tool with no backdoor is honest about permanent loss; a tool with a reset option should say what that option needs.
Platform and version limits. Windows, Mac, 32-bit and 64-bit builds differ. The requirement line should name them.
An exit path. You should be able to decrypt everything and leave. Read what the uninstaller does to locked data before you commit data to it.
Promises of an unbreakable lock, a "100% safe" guarantee or a price shown only inside a pop-up. Security software should describe its limits as plainly as its features.
The Four Rungs Compared Side by Side
Seven options span the four rungs, from a free attribute that hides a folder to encrypted lockers that need a password. The comparison below rates difficulty, strength and cost, and the verdict row reflects the honest result: the cheapest option is rarely the one that fits a stolen-laptop threat.
| Method | Difficulty | Security | Cost | Best for | Limitations |
|---|---|---|---|---|---|
| Hidden attribute | Easy | Low | Free | Tidying clutter | One checkbox reveals it |
| NTFS permissions | Moderate | Moderate | Free | Shared PCs | Administrators and disk readers bypass it |
| Immutable or Locked flag | Easy | Moderate | Free | Stopping accidents | Owner can clear it; no encryption |
| Password archive | Easy | High | Free | Rarely used files | Extract, edit, re-pack workflow |
| Windows EFS | Moderate | High | Free on Pro and up | Single-user NTFS laptops | Not in Home; key tied to the account |
| Folder Protect | Easy | Moderate | Paid, price not shown on its page | Locking in place with access, visibility, delete and write levels | Windows 10, 8 and 7 listed; no encryption claim |
| Folder Lock | Easy | High | Free tier, Pro $39.95 per year | Encrypted lockers on Windows, Mac and phones | Free tier capped at 1 GB; no recovery without the password |
| Verdict | For accidents or other accounts, the free tools are enough. For anything that could leave your control as a drive or a backup, choose encryption, built in on Pro or from a dedicated locker. | ||||
Which Situation Sounds Like Yours?
Six situations account for nearly every request to lock a directory: a shared family PC, a laptop with client files, a small team, a lockout, a Mac or Linux machine, and a hunt for free options. Pick the tile that sounds like yours, or answer two questions in the helper below.
Lock Ladder rung helper
Two questions, one recommendation. Nothing leaves your browser.
Pick one option in each group to see a suggestion. For example, anyone who may hold your drive points to rung 4, encryption.
The Tool We Recommend for Most Readers
For readers who need rung 4, we recommend Folder Lock 10: encrypted lockers, an in-place Protect Folders mode and a free 1 GB tier in one Windows 11 and 10 installer, plus Mac and phone editions. Its limits are a 64-bit requirement and no recovery for a lost password.
Of the options covered above, the free tools stop at accidents and other accounts. Once the directory could leave your control on a laptop, a backup or a USB stick, the practical choice is encryption, and Folder Lock's encrypted lockers are the option we recommend, based on the product's documented features.
The official page describes 256-bit AES encryption applied on the fly as files go into a locker, lockers for the desktop, Dropbox, Google Drive and OneDrive, and a Protect Folders mode that locks and hides files, folders and drives in place. Portable lockers are saved as .flka files that can be copied to a USB drive or emailed.
What it does not do
- It runs on 64-bit Windows 11 and 10 only, so older 32-bit machines are out.
- The vendor states there is no backdoor: a lost password means encrypted files cannot be opened.
- The free tier caps the locker at 1 GB and syncs 2 devices.
- It protects files at rest. Malware running while a locker is open can still read the open files.
If you only want delete-proof or write-protected folders without encryption, Folder Protect is the lighter sibling. We describe it in the comparison below.

Alternatives Compared
Folder Lock, Folder Protect, NTFS permissions and Windows EFS each cover a different mix of the four rungs. Only Folder Lock and EFS encrypt content, only Folder Protect combines delete-proof and write-protected levels in one panel, and permissions are the only option that costs nothing and needs no install.
| Feature | Folder Lock | Folder Protect | NTFS permissions | Windows EFS |
|---|---|---|---|---|
| Encrypts the content | Yes, 256-bit AES | No claim made | No | Yes |
| Hides the folder | Yes, in Protect Folders mode | Yes, No Visible level | No | No |
| Blocks delete and write | Locker files are encrypted | Yes, separate levels | Yes, by rule | No |
| Holds if the disk is read elsewhere | Yes | Not documented | No | Yes |
| Windows versions | 11 and 10, 64-bit | 10, 8 and 7 | All NTFS editions | Pro, Enterprise, Education |
| Recovery | No backdoor; account reset on the sign-in screen | Master Key option | Take ownership as administrator | Certificate backup or recovery agent |
| Cost | Free 1 GB tier; Pro $39.95 per year | Price not shown on its page | Free | Free with eligible editions |
| Verdict | Choose encryption (Folder Lock or EFS) when a drive could leave your hands. Choose Folder Protect for delete-proof or hidden folders that stay in place. Choose permissions when the only worry is another account on the same PC. | |||
Want more than four? The ranking of seven lock directory alternatives adds Mac, Linux and archive options.
What the Recommended Tools Offer
Folder Lock 10 bundles encrypted lockers, in-place protection, portable lockers, permission-based sharing, secure notes and file shredding, while Folder Protect focuses on four protection levels across files, folders, drives and programs. Each feature below states who it suits and who should skip it.
Protect Folders
Locks and hides files, folders and drives where they already sit, using a kernel-level driver. A stealth mode removes the app from view.
Best for: keeping a project folder in its current path. Not ideal for: files that must stay encrypted on a USB stick.
Portable Lockers
Packs files into an encrypted .flka container that you can copy to a USB drive or CD, or email. The independent file-format page for .flka files notes that only the passphrase its owner created opens one.
Best for: carrying or sending sensitive files. Not ideal for: daily editing.
Sharing with permissions
Gives other users access to an encrypted folder without handing over your own password. Sharing uses 4096-bit RSA keys.
Best for: small groups. Not ideal for: large teams that need group management, which the Share tab marks as coming soon.
Secrets and Shred Files
Stores wallet details, passwords and notes in the same protected space, and overwrites files you want gone. Clean History clears usage traces.
Best for: one place for small sensitive items. Not ideal for: replacing a full password manager.
Four protection levels
Folder Protect applies No Access, No Visible, No Delete and No Write to files, folders, drives, masks and programs, and the levels can be combined.
Best for: blocking deletion by mistake. Not ideal for: stolen-disk threats, since no encryption is claimed.
Auto Protection and Master Key
Folder Protect can re-arm itself after a set number of idle minutes, and a Master Key option lets the registration serial number act as a recovery password.
Best for: shared PCs where people forget to relock. Not ideal for: anyone who has not enabled the Master Key.


How Folder Lock and Folder Protect Work Inside
Folder Lock encrypts with 256-bit AES as data is written, while Folder Protect enforces access rules at the driver level and documents no encryption. Five short topics explain the difference: encryption, stealth mode, portable lockers, protection levels and Safe Mode, with a screenshot of the protected items list alongside.
Files placed in a Folder Lock locker are encrypted with 256-bit AES as they are written, so no decrypted copy is left on disk. Sharing between accounts uses 4096-bit RSA. The official page also mentions a 128-bit RSA key for the user profile, a figure that sits oddly beside the other numbers, so confirm it with the developer if your compliance rules name key sizes.
Protect Folders works through a kernel-level driver, which is why it can hide a directory from Explorer and from other programs rather than just flagging it. Stealth mode removes the app itself from view and uses a hotkey to bring it back. Note the hotkey: a Microsoft Q&A thread from a reader who lost it shows how a locked-out owner can end up searching for it.
A portable locker is one encrypted file. Copy it to a USB drive, a CD or an email attachment, and the contents stay unreadable without the password. Because the file is a single container, a damaged copy loses everything inside it, so keep a second copy on another medium.
In Folder Protect, No Access blocks opening, No Visible hides the item, No Delete refuses removal and No Write refuses changes. The levels combine, so a finished-invoices folder can be No Delete plus No Write and remain readable. The protected items list shows each path with a checkmark per level.
Folder Protect has a setting that keeps protection active when Windows starts in Safe Mode, which closes a common bypass for permission-only approaches. It still leaves the disk unencrypted, so a drive read in another machine is a separate matter.

System Requirements and Compatibility
On Windows, Folder Lock 10 needs 64-bit Windows 11 or 10, while Folder Lock for Mac needs macOS 13 or newer, and Folder Protect lists Windows 10, 8 and 7. Android and iPhone have separate apps. Use the checker below to match a product to a system.
| Product | Systems listed | Notes |
|---|---|---|
| Folder Lock for Windows | Windows 11 and Windows 10 | 64-bit only |
| Folder Lock for Mac | macOS 13 Ventura or newer | Native Mac app, announced alongside the December 2025 Windows update |
| Folder Lock mobile | Android and iOS | Separate apps from the app stores |
| Folder Protect | Windows 10, 8 and 7 | Windows 11 is not named on the page |
System compatibility checker
Pick a product and a system. Answers follow the official requirement lines.
Folder Lock 10 lists Windows 11 and Windows 10, 64-bit only.
The Mac edition and the December 2025 Windows build 10.1.13 were announced together in a press release covering both editions. Installers for the Windows editions come from the developer's own site; avoid mirror sites that repackage them.
Installation Step-by-Step
To lock a directory with Folder Lock 10, download the Windows installer, run it, create your sign-in password, choose a locker or Protect Folders, add the directory, then close the app and confirm Explorer can no longer open the files. The whole routine takes about ten minutes.
Download the installer from the developer
Use the official download page and pick the Windows build of Folder Lock 10. The file is named folder-lock-en.exe. Skip third-party mirrors.
Run the setup file
Accept the license, choose an install path and finish. Windows may ask for administrator approval because the app installs a driver.
Create your account and password
On first launch, the sign-in screen asks for an email address and a password; choose Create Account if you are new. Write the password down and store it somewhere other than the computer, because the vendor states there is no backdoor.
Choose a locker or Protect Folders
The Desktop Locker encrypts files into a protected space. Protect Folders locks and hides a directory where it already sits. Pick the first when the files could leave your control, and the second for convenience on a machine you keep.
Add the directory and test it
Add the directory, close the locker, then try to open the files from File Explorer. If they are unreadable or invisible, the lock holds. Reopen from the app once to prove your password works.

Free vs Paid Options
Folder Lock's official page lists a free tier at $0 with a 1 GB locker and 2 sync devices, and Pro at $39.95 per year, billed yearly, with an unlimited locker and 5 devices. Built-in Windows tools cost nothing but reach rung 4 only on Pro editions of Windows.
- 1 GB locker
- 2 sync devices
- Encrypted lockers and Protect Folders
- Unlimited locker
- 5 devices
- Same encryption as the free tier
The pricing page also lists upgrade discounts for owners of earlier versions: 50 percent from Folder Lock 7 and 25 percent from Folder Lock 6. It does not state a trial length or a refund policy, so ask the developer before buying if either matters to you.

Edition picker: free tier or Pro
Based on the limits printed on the official Folder Lock pricing page.
Pick one option in each group to see which edition matches.
Is it worth paying?
Paying makes sense when the locker would outgrow 1 GB or when three to five devices need the same locker. For a few documents on one PC, the free tier or a built-in method does the job, and paying for more would add nothing you use.
See the full version
Folder Lock Pro prices are listed on the official store, with the free tier available as a direct download.
Business and Multi-User Deployment
A small team can lock directories safely by deciding three things before installing anything: who holds the recovery password, whether each person gets an own locker, and how many devices the licence covers. Folder Lock Pro lists 5 devices, so a larger rollout needs a conversation with the developer first.
The official pages describe each installation as its own protected space and do not describe central administration, so treat every machine as independent. Name one person who stores the master passwords in a company password manager, not on the machine itself.
On shared PCs in classrooms or front desks, Folder Protect's Auto Protection setting is the useful part: protection re-arms after a set number of idle minutes, so a forgotten relock does not leave the folder open for the next person. Safe Mode protection closes the common workaround of restarting into Safe Mode.
Questions about volume licensing are best sent to the developer directly, since the pricing page lists individual terms only.

Deployment checklist for a small team
Work through these before the first install on a shared machine.
0 of 7 done
Your ticks stay in this browser and the list prints cleanly.
Lock Directory: Troubleshooting & Verification
Most lock directory problems trace to eight causes: a deny rule, hidden flags, a stealth-mode hotkey, a forgotten password, a missing EFS certificate, a drive without permissions, an unsupported Windows build, or a synced copy. The table matches each symptom to its cause and a first fix.
| Problem | Likely cause | First fix |
|---|---|---|
| Access is denied on a folder you own | A deny rule, or inheritance was removed | Take ownership as administrator, then reset the permission list. Steps are in the guide to recovering access to a locked directory. |
| The folder disappeared after hiding | Hidden and system attributes are set | Run attrib -h -s on the path, or show hidden and protected files in Explorer. |
| The locking app will not open | Stealth mode hides it and the hotkey is forgotten | Use the hotkey set in the app; recovery works only if the Master Key option was enabled. |
| The password is forgotten | No backdoor exists by design | Use the account reset on the sign-in screen or a saved recovery key; without either, encrypted files stay closed. |
| EFS files are unreadable after a reinstall | The certificate was not exported | Import the exported certificate, or restore the old profile. |
| Permissions do not apply on a USB drive | FAT32 or exFAT has no permission lists | Back up, reformat as NTFS, or use an encrypted container instead. |
| The installer refuses to run | 32-bit Windows or an unlisted edition | Compare the system against the requirement lines above. |
| The synced copy is still readable online | The cloud copy sits outside the local lock | Encrypt before the files sync, or use a locker built for the cloud folder. |
Find your problem
What is happening?
Did you hide it, or did a tool hide it?
Reveal it. Turn on hidden and protected operating system files in Explorer, or run attrib -h -s on the path. Then restart from the start.
Use the tool. Open the locking app with its hotkey or from the Start menu, sign in and remove protection from the item. Stealth mode hides the app as well, so the hotkey matters.
Is this a folder on a drive or PC that you own?
Take ownership as an administrator. Run takeown on that one directory, then reset the permission list with icacls. The full sequence, with an undo, is on the recovery page.
Ask the administrator. A school, employer or family member who set the rule can lift it. Changing permissions on a managed device without approval is not something this guide covers.
Which password?
Look for a recovery path first. Check the sign-in screen for an account reset, then look for a saved master key or a licence email. Without one of them, the vendor states encrypted files cannot be opened.
Check your saved copies. Search your password manager and notes. Archive and disk-image encryption has no reset, so a lost password means the contents are gone.
How to verify the lock holds
Read the rule back
Print the permission list and the flags, then compare them with what you intended.
Test as another account
Sign in as a standard user and try to open, edit and delete a file in the directory.
Test from outside the system
For encryption, copy one file to another machine, or boot a recovery drive. Unreadable bytes confirm rung 4.
REM Windows: show the permission list and the flags
icacls "C:\Private"
attrib "C:\Private"Safe Uninstall and Migration
To uninstall a locking tool without losing data, remove protection or decrypt every locker first, copy any portable locker to a second location, confirm the files open from File Explorer, and only then run the uninstaller. Skipping the first step leaves encrypted files with nothing left to open them.
Release every protected item
In Folder Protect, select each row and use Unprotect. In Folder Lock, decrypt each locker or move the files out of it.
Copy portable lockers
Copy each .flka file to an external drive. The copy is your only way back if the original is damaged.
Open the files from Explorer
If a file opens without the app running, protection is off for that item.
Run the uninstaller
Use Apps and Features in Windows Settings, or the Uninstall button on the General page of Folder Protect's own Settings, then restart.
Uninstalling a driver-based guard while items remain protected can leave them inaccessible with no interface to release them. Reinstalling the same version is the usual way out, so keep the installer.
Moving locked files to a new PC
For a portable locker, copy the .flka file, install the same product on the new machine and open the file with the original password. For in-place protection, release the items on the old PC first, move the plain files, and protect them again on the new one. The Windows and Mac editions are separate products, so a Windows install cannot open a Mac locker by itself.
Who Should Use Which Option
Parents on a shared PC need permissions, freelancers with client files need encryption, teachers on shared lab computers need an idle auto-lock, and people who only want to stop accidents need a freeze. The table below pairs each user type with a method, a reason and an honest alternative.
| If you are | Use | Because | Our tool fits? | Honest alternative |
|---|---|---|---|---|
| A parent on a shared PC | NTFS permissions | The threat is another account | Not needed | A separate Windows account for each child |
| A freelancer with client files | Encrypted locker | A lost laptop is the real risk | Yes, Folder Lock | EFS on Windows Pro |
| A teacher on shared lab PCs | Idle auto-protection | People forget to relock | Yes, Folder Protect | Per-user accounts with permissions |
| An archivist with finished files | Freeze flags | The risk is accidental edits | Optional | Immutable bit or Locked flag |
| A Mac user | Encrypted disk image or Mac edition | NTFS rules do not exist on macOS | Yes, Folder Lock for Mac | Disk Utility images |
Frequently Asked Questions
Fourteen frequent questions about locking a directory are answered below, from what the term means to how to uninstall safely. Use the chips to filter by system or product, and open any question for a short direct answer you can act on.
Lock directory means restricting access to a folder and its contents so other people, accounts or programs cannot see, open, change or read it. Depending on the method, the lock hides the folder, limits permissions, freezes edits or encrypts the files. Windows, macOS and Linux each support some of these methods natively.
The operating system checks, in order, whether the folder is visible, whether the account has permission, whether a flag blocks the action, and whether a key is required to read the data. Each lock method acts at one of those checks, and encryption is the only one that also protects a copied disk.
Safe depends on the rung. Hiding and read-only flags protect only against casual or accidental access, permissions stop other accounts, and encryption with a strong password protects a copied drive. No method is absolute: malware running while the folder is open can still read it, and a forgotten password cannot be recovered.
Start by naming the threat. For another account on the same PC, remove that account's access in the folder's Security tab, which takes about five minutes. For a lost laptop, install an encrypted locker or turn on EFS if you have Windows Pro, and write the password down somewhere else.
Typical problems are access-denied messages after a deny rule, hidden folders that seem to vanish, forgotten passwords, EFS certificates lost in a reinstall, and permissions that do nothing on FAT32 or exFAT drives. The troubleshooting table above pairs each symptom with a cause and a first fix.
Yes. Windows has free built-in options in NTFS permissions and hidden attributes, and Pro editions add EFS encryption. Among dedicated tools, Folder Lock lists a free tier at $0 with a 1 GB locker and 2 sync devices. Folder Protect's page shows no price, so check it before assuming it is free.
On Windows, Folder Lock 10 runs on 64-bit Windows 11 and 10. Folder Lock for Mac needs macOS 13 or newer, and Android and iOS have their own apps. Folder Protect lists Windows 10, 8 and 7 and does not name Windows 11. Built-in Linux flags need ext4, xfs or btrfs.
Within the licence, yes. Folder Lock's free tier syncs 2 devices and Pro is listed with 5 devices. Portable lockers can also move between computers as .flka files, and each PC then needs the product installed. Teams beyond five devices should ask the developer about terms.
Release first, uninstall second. Decrypt each locker or unprotect each item, copy any portable locker to a second drive, confirm the files open from File Explorer without the app running, and then run the uninstaller. Keep the installer in case you need to reinstall.
The main alternatives are NTFS permissions for other accounts, attributes for hiding, immutable flags for freezing, EFS or a password-protected archive for encryption, and Folder Protect for in-place guard levels. The alternatives page ranks seven options by threat and platform.
Yes, with permissions, attributes, an encrypted archive or a dedicated locker. Windows Home does not include EFS, the built-in file encryption, so encryption there needs a third-party option such as an archive with AES-256 or an encrypted locker. Home does support NTFS permissions from the Security tab.
No. The hidden attribute only keeps the name out of default views, and anyone who enables Show hidden files or types the path sees the folder again. Hiding suits tidying clutter. For privacy, use permissions against other accounts or encryption against anyone holding the disk.
Locking is worth the effort when the files would hurt if exposed: tax records, client data, identity documents. Built-in tools cost nothing and take minutes. Paid software earns its price only when you need encryption that follows files onto USB drives, clouds or phones, or more than the free 1 GB.
Download it from the developer's own site: the official downloads page lists the Windows installers, and the product pages link the app-store editions. Avoid mirror sites that repackage installers, because they can bundle extras and may serve outdated builds. Check that the file name matches folder-lock-en.exe before running it.
More Answers About Locking a Directory
Five questions come up often enough to deserve more room than an FAQ line: which method is best, how Windows 11 and Windows 10 differ, whether a folder can carry a password without extra software, how to read reviews, and the pros and cons of each rung.
What is the best way to lock a directory in 2026?
The best way is the lowest rung that stops your named threat: permissions for other accounts, a freeze flag for accidents, and encryption for a lost or copied drive. For most people carrying sensitive files, that means an encrypted locker or EFS, with the password stored in a second place.
Best is a property of the match, not the tool. A strong encrypted locker is wasted on a folder of finished invoices that only needs protecting from accidents, and a freeze flag is dangerous to rely on for a tax archive on a laptop.
How do I lock a directory on Windows 11?
On Windows 11, open the folder's Properties, choose Security, then Advanced, and disable inheritance to restrict who can enter. For encryption on Pro, tick Encrypt contents in the Advanced attributes. Windows 11 Home lacks EFS, so it needs an archive or a dedicated locker for rung 4.
The Windows 11 Security dialog looks the same as on Windows 10, and the icacls syntax is identical. The practical difference is the edition: Home, Pro and Enterprise decide whether built-in encryption exists at all.
Does lock directory work the same on Windows 10?
Yes for permissions, attributes and EFS, which behave identically on Windows 10. The difference is software support: Folder Lock 10 lists Windows 10 and 11 in 64-bit form, while Folder Protect lists Windows 10, 8 and 7, so older machines have more choices for in-place guarding.
Windows 10 users should check the build for updates before applying permission changes to system-adjacent folders, since a deny rule on the wrong path can break an application.
Can I password protect a folder without installing software?
Not on Windows. The operating system has no per-folder password, only permissions tied to accounts and EFS tied to a certificate. A password on a single folder needs an archive tool with encryption, an encrypted disk image on a Mac, or a dedicated locker.
Whole-drive encryption exists in Windows Pro and Enterprise, and it asks for a password at start-up, but it protects the drive rather than one directory. For one folder, a password-protected archive is the zero-cost route.
How should I read reviews of lock directory software?
Read reviews for what the vendor documents and what the reviewer verified: a named cipher, the recovery path, platform limits, and what uninstalling does to data. Treat star scores and claims of unbreakable security as noise, and prefer reviews that describe a failure mode as well as a feature.
This guide describes each product from its official pages and independent file-format references. We have not published benchmarks, so the comparison reflects documented features and our editorial assessment, not lab results.
Which lock directory method has the best trade-offs?
Hiding is quick but reveals itself to one checkbox. Permissions are free but bypassed by administrators and disk readers. Freeze flags stop accidents but not owners. Encryption protects a copied drive but turns a forgotten password into permanent loss. Each con maps to a threat the next rung removes.
- Hide: one command; no protection.
- Restrict: free and reversible; not for stolen disks.
- Freeze: blocks mistakes; owner can lift it.
- Encrypt: strongest; the key must be stored safely.
The Bottom Line
Match the rung to the threat. Free built-in tools handle other accounts and accidents, and anything that could leave your hands on a laptop, a backup or a stick needs encryption. For most readers in that second group, we recommend Folder Lock, with the password saved in two places.
Locking a directory is four jobs wearing one name, and the cheapest mistake is picking the wrong one. A hidden folder with tax records is no lock at all, and a strong cipher around a folder of finished invoices is more effort than the risk deserves.
If your answer on the risk scorecard was moderate or high, start with the free tier of Folder Lock on one directory, test the lock from outside the system, then decide whether the Pro limits matter to you. If you only need to stop accidents, a freeze flag or Folder Protect's delete-proof level is enough.
Start with one directory
Install the free version, lock a single folder, and test it before you move anything important.
Go Deeper
Three companion pages take one question each to full depth: regaining access to a directory you own, locking a directory on Mac and Linux, and ranking the alternatives by threat. Each links back to this guide, so you can read one and return.
This guide is written by the NewSoftwares.net team, the developer of Folder Lock. It covers free and built-in options alongside our own, so you can choose the lock that matches your threat. Questions about the products can go to the developer through the developer's contact page.
