Windows 11 File Locker
Comparison guide

File Lock vs Read-Only vs Encryption on Windows 11

Last verified: November 2026

Quick answer

Read-only asks programs not to overwrite a file but does not stop deletion. A lock blocks access through permissions or a driver. Encryption makes contents unreadable without a key, even in a copy. On Windows 11, pick the protection by threat: accidents need read-only, other accounts need permissions, and lost devices need encryption.

Three cards labelled read-only, locked and encrypted with a document, padlock and shieldRead-onlyLockedEncryptedThree different protections

What Each Protection Actually Stops

The table compares six controls against three outcomes: blocking edits, blocking deletion and blocking reading. Notice that no row blocks everything for everyone. Read-only blocks almost nothing, permissions block specific accounts, and only encryption protects a copied file. Use it to match the control to the outcome you care about.

Six controls compared on Windows 11
ControlBlocks editsBlocks deletionBlocks readingKey to back up
Read-only attributePrompts for Save As onlyNoNoNone
NTFS deny permissionYes, for denied accountsYes, if Delete rights are withheldYes, for denied accountsNone
Driver-based hide or lockYes, while protectedYes, while protectedYes, while protectedPassword
EFS encryptionOther accounts onlyDepends on permissionsYes, without the certificateCertificate and key
Encrypted archiveNeeds unpacking firstArchive file can be deletedYes, without the passwordPassword
Encrypted containerOnly while mountedContainer file can be deletedYes, without the passwordPassword
Bar style comparison of read-only, permissions, lock or hide and encryption strengthRead-onlyedit prompt onlyPermissionsper accountLock or hideblocks accessEncryptionneeds the keyProtection strength rises left to right
Protection strength rises from read-only toward encryption, and so does the key you must keep.

Why Read-Only Does Not Stop Deletion

Deletion in Windows is governed by permissions, not by the read-only flag. A user needs the Delete right on the file, or the right to delete subfolders and files on the parent folder. The attribute is advisory, which is why a read-only file can vanish with one keypress.

On folders the flag does even less: Windows ignores it except to customise a folder through desktop.ini. If your goal is preventing deletion, the control to change is the permission list, which you can inspect with this command.

icacls "C:\Data\report.docx"

Look for (D) for delete and (DC) for delete child entries on the parent folder.

Only on NTFS

Permissions need an NTFS volume. A FAT32 or exFAT drive has no Security tab, so a flag or a locker is all you have there.

Locked Versus Encrypted: The Gap People Miss

A lock controls who may open a file while Windows or a driver enforces the rule. Encryption changes the file itself. The gap shows when the disk is read from another system: a lock may no longer apply, while encrypted contents stay unreadable. Many people buy a lock and assume they got encryption.

Lock or hide

Fast to apply and easy to use daily. Contents stay readable if the disk is read elsewhere. Needs no key beyond the password.

Encrypt

Contents are unreadable without the key, even in a copy. A lost key cannot be rebuilt, so the backup matters more.

Choose by Threat With the Threat-First Test

The Threat-First Test replaces product comparisons with three questions: who might touch the file, what would they do, and what happens if the file leaks. Answer in that order and the right control usually follows. Use the selector to see a recommendation for the most common threats.

Stacking Layers Without Locking Yourself Out

Layering protections works only when every layer has a recovery path you control. Each added rung removes one risk and adds one failure mode. Before you stack permissions, EFS and a locker on the same file, write down which key opens which layer and where each copy lives.

EFS needs a certificate backup

Run cipher /x and keep the .pfx off this PC. A reinstall removes the keys tied to the old profile.

BitLocker keys follow the account

With a Microsoft account sign-in, the recovery key is attached to that account, which makes it recoverable from another device.

On Windows 11 Home there is no EFS checkbox, so layering means an archive, a container or a locker on top of Device Encryption where the hardware supports it.

Where a Dedicated Locker Fits in the Comparison

A dedicated locker sits across two rungs of the comparison. In Folder Lock 10, Protect Folders hides and locks items using a kernel-level driver, and Lockers encrypt with 256-bit AES. That gives you the daily convenience of a lock plus real encryption, with a password you must not lose.

Folder Lock 10 is our recommendation for this job, with the limits of no password recovery and 64-bit Windows only.

Its sibling Folder Protect concentrates on the hide-and-lock side, shown below.

Folder Protect list of protected items with lock status for each file
Folder Protect, protected items list.
Folder Protect safe mode settings screen for protection during Windows Safe Mode
Folder Protect, Safe Mode setting.

Independent overviews of the same trade-offs are at this deletion-protection guide and this encryption overview.

Frequently Asked Questions About Locks, Read-Only and Encryption

Eight short answers settle the most common confusion between read-only flags, locks and encryption on Windows 11. They follow the Threat-First Test: start from who you are protecting against, then pick the lowest control that covers the threat, and back up any key before relying on it.

Is read-only the same as locked?

No. Read-only is a file attribute that asks programs to save elsewhere instead of overwriting. A lock denies access through permissions or a driver. A read-only file can still be opened by anyone and can still be deleted, so it works as a reminder, not a barrier.

Can a read-only file be deleted?

Yes. The attribute does not control deletion. Windows decides on deletion from the Delete right on the file or the right to delete subfolders and files on the parent folder. To stop a standard account from deleting, change those permissions or keep the file inside a protected container.

Does Windows 11 encrypt files by default?

Not at file level. Pro, Enterprise and Education can encrypt a file with EFS on request, and many devices turn on Device Encryption for the whole drive after a Microsoft account sign-in. Home has no per-file EFS option, so files there stay unencrypted unless you add a tool.

Is hiding a file the same as encrypting it?

No. A hidden or locked file is still stored in readable form unless the tool also encrypts it. Folder Lock's publisher says Protect Folders items are not encrypted and that Lockers perform the encryption. For sensitive material, choose encryption, or combine hiding with a locker.

Which protection is best for a stolen laptop?

Encryption, because a thief can pull the drive and read it elsewhere. Turn on Device Encryption or BitLocker for the system drive and keep the recovery key somewhere safe. Permissions and hidden folders only work while Windows itself enforces them, which does not help once the disk is read from another system.

Can an administrator override NTFS permissions?

Yes. An administrator can take ownership of a file and then grant themselves access, so permissions stop other standard users, not every account. If administrators are part of your threat, use encryption with a key they do not hold, and keep that key out of the shared account.

Does a password-protected zip count as encryption?

It can. A 7-Zip archive in the 7z format uses AES-256, and the option to encrypt file names hides the contents list too. Legacy Zip encryption is weaker, so prefer 7z or a modern AES option, and confirm that file names are encrypted if names themselves are sensitive.

Can I combine all three protections?

Layering is common and sensible. Set read-only to avoid accidents, use permissions for other accounts, and keep truly sensitive files in an encrypted container or locker. Back up any key first, because the strongest layer is also the one that cannot be undone if the key is lost.