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.

Editorial TeamNovember 202636 min readLast verified: November 2026
Quick answer

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.

At a glance
Applies toWindows 11 and 10, macOS 13 or newer, Linux on ext4, xfs or btrfs
Time neededAbout 5 minutes for a permission or flag, 15 minutes for an encrypted locker
DifficultyEasy for flags, moderate for permissions and encryption
CostFree with built-in tools; a free 1 GB tier exists for dedicated software
Needs admin rightsYes for Windows permissions and Linux chattr
Last verifiedNovember 2026
Four-rung ladder showing hide, restrict, freeze and encrypt as separate ways to lock a directory 1 HideOut of sight, still readable 2 RestrictPermissions say who may enter 3 FreezeNo edits, no deletes 4 EncryptUnreadable without a key
Start here

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.

The Lock Ladder: four rungs and what each one stops
RungWhat it doesStopsDoes not stopTypical tool
1 HideRemoves the name from normal viewsCasual browsing, a child clicking aroundAnyone who shows hidden files or types the pathHidden attribute, leading dot
2 RestrictLets only named accounts enterOther standard accounts on the same machineAdministrators, root, a disk read elsewhereNTFS permissions, chmod
3 FreezeBlocks edits and deletesAccidents, scripts that overwrite filesThe owner clearing the flag, a disk read elsewhereImmutable bit, Locked flag
4 EncryptScrambles contents with a keyTheft of the laptop, a copied drive, a shared backupMalware running while the folder is open, a forgotten keyEFS, 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.

The mechanics

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.

Check 1Is the name visible to this request?
Check 2Does this account hold the right permission?
Check 3Does a flag block this action?
Check 4Is a key needed to read the bytes?

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.

Who should be blocked?
What should be blocked?
How far should the rule reach?
Command Prompt (run as administrator)
icacls "C:\Private" /deny Users:(OI)(CI)(R)

REM undo:
icacls "C:\Private" /remove:d Users
What this does

Takes 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.

Built-in and free

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.

  1. Open the Security settings

    Right-click the folder, choose Properties, open the Security tab and click Advanced.

  2. Stop inheriting from the parent

    Click Disable inheritance and choose to convert inherited permissions into explicit ones. The folder now owns its list.

  3. 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.

  4. 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.

Safe to skip

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.

Back up the key first

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.

Avoid these

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.

Common mistake

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.

Common mistake

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.

Common mistake

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.

Common mistake

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.

Beyond the lock

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.

Do other people use this computer or sign in to your account?
Does the directory hold identity, tax, client or medical records?
Does the computer leave your home or office?
Is the directory copied to a cloud service or an external drive?
Is hiding the directory or a read-only flag the only protection today?
Is the password or recovery key missing from a safe second location?
Your result

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.

Why this matters

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.

Before you install anything

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.

1

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.

2

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.

3

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.

4

Platform and version limits. Windows, Mac, 32-bit and 64-bit builds differ. The requirement line should name them.

5

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.

Red flag

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.

Side by side

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.

Methods compared: difficulty, security, cost, best use and limits
MethodDifficultySecurityCostBest forLimitations
Hidden attributeEasyLowFreeTidying clutterOne checkbox reveals it
NTFS permissionsModerateModerateFreeShared PCsAdministrators and disk readers bypass it
Immutable or Locked flagEasyModerateFreeStopping accidentsOwner can clear it; no encryption
Password archiveEasyHighFreeRarely used filesExtract, edit, re-pack workflow
Windows EFSModerateHighFree on Pro and upSingle-user NTFS laptopsNot in Home; key tied to the account
Folder ProtectEasyModeratePaid, price not shown on its pageLocking in place with access, visibility, delete and write levelsWindows 10, 8 and 7 listed; no encryption claim
Folder LockEasyHighFree tier, Pro $39.95 per yearEncrypted lockers on Windows, Mac and phonesFree tier capped at 1 GB; no recovery without the password
VerdictFor 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.
Match your case

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.

What do you need to stop?
Which system is the directory on?
Your answer

Pick one option in each group to see a suggestion. For example, anyone who may hold your drive points to rung 4, encryption.

Editorial pick

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.

Try Folder Lock free →

Folder Lock main window listing four lockers with Encrypt and Decrypt buttons
The main window lists each locker and whether it is open or encrypted.
Head to head

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.

Four ways to lock a directory on Windows, feature by feature
FeatureFolder LockFolder ProtectNTFS permissionsWindows EFS
Encrypts the contentYes, 256-bit AESNo claim madeNoYes
Hides the folderYes, in Protect Folders modeYes, No Visible levelNoNo
Blocks delete and writeLocker files are encryptedYes, separate levelsYes, by ruleNo
Holds if the disk is read elsewhereYesNot documentedNoYes
Windows versions11 and 10, 64-bit10, 8 and 7All NTFS editionsPro, Enterprise, Education
RecoveryNo backdoor; account reset on the sign-in screenMaster Key optionTake ownership as administratorCertificate backup or recovery agent
CostFree 1 GB tier; Pro $39.95 per yearPrice not shown on its pageFreeFree with eligible editions
VerdictChoose 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.

Reference

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.

Icon for the Protect Folders feature that locks and hides folders in place

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.

Icon for Portable Lockers, the encrypted container that can move between computers

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.

Folder Lock Share tab with options to set permissions, manage permissions and create groups
The Share tab in Folder Lock
Folder Protect window with No Access, No Visible, No Delete and No Write levels
The four levels across the top of Folder Protect
Technical detail

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.

Folder Protect list of protected files, folders, drives and programs with level checkmarks
One row per protected item, one column per level
Before you download

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.

Requirement lines from the official product pages
ProductSystems listedNotes
Folder Lock for WindowsWindows 11 and Windows 1064-bit only
Folder Lock for MacmacOS 13 Ventura or newerNative Mac app, announced alongside the December 2025 Windows update
Folder Lock mobileAndroid and iOSSeparate apps from the app stores
Folder ProtectWindows 10, 8 and 7Windows 11 is not named on the page

System compatibility checker

Pick a product and a system. Answers follow the official requirement lines.

Supported

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.

Step by step

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Download the free version →

Folder Lock Cloud tab choosing which lockers appear on the main screen with Auto Open
Step 4: choose which lockers appear and which open automatically.
Cost

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.

Free tier
$0
  • 1 GB locker
  • 2 sync devices
  • Encrypted lockers and Protect Folders
Pro
$39.95 per year, billed yearly
  • 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.

Folder Lock 10 product box for the Windows edition

Edition picker: free tier or Pro

Based on the limits printed on the official Folder Lock pricing page.

How much data goes into the locker?
How many devices need the same locker?
Your answer

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.

Shared machines

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.

Folder Protect settings page showing Safe Mode Protection and Auto Protection idle timer
Safe Mode protection and the idle timer for Auto Protection

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.

Fix and verify

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 and first fix
ProblemLikely causeFirst fix
Access is denied on a folder you ownA deny rule, or inheritance was removedTake ownership as administrator, then reset the permission list. Steps are in the guide to recovering access to a locked directory.
The folder disappeared after hidingHidden and system attributes are setRun attrib -h -s on the path, or show hidden and protected files in Explorer.
The locking app will not openStealth mode hides it and the hotkey is forgottenUse the hotkey set in the app; recovery works only if the Master Key option was enabled.
The password is forgottenNo backdoor exists by designUse 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 reinstallThe certificate was not exportedImport the exported certificate, or restore the old profile.
Permissions do not apply on a USB driveFAT32 or exFAT has no permission listsBack up, reformat as NTFS, or use an encrypted container instead.
The installer refuses to run32-bit Windows or an unlisted editionCompare the system against the requirement lines above.
The synced copy is still readable onlineThe cloud copy sits outside the local lockEncrypt before the files sync, or use a locker built for the cloud folder.

Find your problem

What is happening?

How to verify the lock holds

  1. Read the rule back

    Print the permission list and the flags, then compare them with what you intended.

  2. Test as another account

    Sign in as a standard user and try to open, edit and delete a file in the directory.

  3. Test from outside the system

    For encryption, copy one file to another machine, or boot a recovery drive. Unreadable bytes confirm rung 4.

Command Prompt, read the lock back
REM Windows: show the permission list and the flags
icacls "C:\Private"
attrib "C:\Private"
Leaving cleanly

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.

  1. 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.

  2. Copy portable lockers

    Copy each .flka file to an external drive. The copy is your only way back if the original is damaged.

  3. Open the files from Explorer

    If a file opens without the app running, protection is off for that item.

  4. 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.

Do not skip this

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.

Match the method

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.

Recommended method by user type
If you areUseBecauseOur tool fits?Honest alternative
A parent on a shared PCNTFS permissionsThe threat is another accountNot neededA separate Windows account for each child
A freelancer with client filesEncrypted lockerA lost laptop is the real riskYes, Folder LockEFS on Windows Pro
A teacher on shared lab PCsIdle auto-protectionPeople forget to relockYes, Folder ProtectPer-user accounts with permissions
An archivist with finished filesFreeze flagsThe risk is accidental editsOptionalImmutable bit or Locked flag
A Mac userEncrypted disk image or Mac editionNTFS rules do not exist on macOSYes, Folder Lock for MacDisk Utility images
Common question

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.

Longer answers

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.
Our verdict

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.

Next steps

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.