What "locking" a Word document actually means

When you lock a Word document, you're restricting what other people can do with it — but the type of lock matters. Word gives you three different tools, and they do different things. You might want to prevent someone from editing the text at all, or you might just want to stop them from changing the formatting, or you might want to let them edit only certain parts. Understanding which lock solves your problem saves you from locking the wrong way and then wondering why someone could still change things you wanted protected.

The most common reason people lock documents is to share a form or template where only specific fields should be filled in. Another reason is to send a document you don't want edited — a contract, a final report, or instructions. A third reason is to protect your own work while you're still editing it, so accidental changes don't slip in.

Key Takeaways

  • Word has three separate locking methods: protecting the document with a password, restricting editing to specific sections, and locking individual form fields.
  • Password protection prevents anyone without the password from opening or editing the file, but requires you to share the password separately.
  • Restrict Editing lets you choose which parts of the document people can change and which parts are locked, without requiring a password.
  • Form field protection works only if your document contains form controls, and lets you lock everything except the boxes meant to be filled in.
  • Locked documents can still be copied and pasted into a new file, so locking is not a security measure against determined users.

Password-protecting your document so it can't be opened without a password

This is the strongest lock Word offers. When you password-protect a document, nobody can open it or see its contents without entering the correct password. Go to File > Info > Protect Document > Encrypt with Password. Word will ask you to type a password, then type it again to confirm. Click OK.

The next time someone tries to open that file, Word will ask for the password before showing anything. If they don't know it, they see nothing. The catch is that you have to share the password separately — by phone, email, or in person — and once you share it, anyone who has it can open and edit the file. There's no way to let someone open it but not edit it using this method alone.

If you forget the password, Microsoft cannot recover it. You will not be able to open the file. Write down the password somewhere safe, or use a password manager to store it.

Restricting editing to specific sections of the document

This method lets you lock most of the document while leaving certain sections editable. It's useful when you want to send a document where people can only fill in blanks you've marked, or add comments to specific paragraphs. Go to Review > Restrict Editing (or Protect in some Word versions). On the right side, you'll see a panel labeled "Restrict Editing".

First, select the parts of the document you want people to be able to edit. Highlight each section, then check the box next to "Everyone" in the Restrict Editing panel. Repeat for each section you want to leave open. Then click Yes, Start Enforcing Protection. Word will ask if you want to set a password. You can leave it blank — the document will still be locked, but anyone can unlock it by going back to Review > Restrict Editing and clicking Stop Protection. If you add a password, they'll need it to unlock.

When someone opens this document, they can click in the editable sections and type, but if they try to click in a locked section, nothing happens. They can't select the text, can't delete it, can't change the formatting.

Locking form fields in a template or form document

If your document contains form controls — text boxes, checkboxes, dropdown lists — you can lock everything except those fields. This is the right choice if you've built a form template and want people to fill it in without changing the structure or instructions.

First, make sure your form fields are in place. Go to Developer tab and insert the fields you want people to fill in (if you don't see the Developer tab, go to File > Options > Customize Ribbon and check the Developer box). Once your fields are set up, go to Developer > Protect Document > Protect Form. Now the entire document is locked except for the form fields — people can tab between fields and enter data, but they can't edit the text around them or change the layout.

To unlock the form so you can edit it again, go back to Developer > Protect Document > Protect Form and toggle it off.

What locking does not protect against

A locked Word document is not encrypted or hidden. Someone who is determined can copy the entire document, paste it into a new Word file, and edit it freely. Locking prevents accidental changes and casual editing, but it's not a security measure. If you need to keep information truly secret, use password protection on the file itself, or use a different tool designed for secure documents.

Also, locking a document in Word does not prevent someone from taking a screenshot, copying text to another program, or printing it. It only prevents editing within Word.

Unlocking a document you've locked

If you password-protected the file, you'll need the password to open it. If you used Restrict Editing without a password, go to Review > Restrict Editing and click Stop Protection. If you protected a form, go to Developer > Protect Document > Protect Form to toggle it off. If you set a password on the restriction, Word will ask for it before unlocking.

If you locked a document and forgot whether you used a password, try going to Review > Restrict Editing > Stop Protection. If it asks for a password and you don't have it, you'll need to contact whoever locked it.

Choosing the right lock for what you're trying to do

Use password protection if you want to prevent anyone from opening the file without permission, or if you're sending a final document you don't want edited at all. Use Restrict Editing if you want to share a document where certain parts can be edited and others can't, and you want to avoid the hassle of sharing a password. Use form protection if you've built a form template with specific fields and want to lock everything except those fields.

If you're sharing a document with colleagues who trust each other and just want to prevent accidental changes, Restrict Editing without a password is usually the easiest choice. If you're sending something to someone outside your organization, password protection is stronger, though remember that the password itself needs to travel separately.

Frequently Asked Questions

Can I lock just one paragraph or one table in a document?

Yes, using Restrict Editing. Select the paragraph or table you want to lock, then go to Review > Restrict Editing. Leave that section unchecked in the "Everyone" box, and check all the sections you want editable. When you enforce protection, only the unchecked sections will be locked.

What happens if I password-protect a document and then forget the password?

You cannot open the file. Microsoft does not have a way to recover lost passwords on Word documents. Store passwords in a password manager or write them down in a secure location. If this happens, your only option is to contact whoever has a copy of the file with the password.

Can someone unlock a restricted document without the password?

If you used Restrict Editing without setting a password, yes — they can go to Review > Restrict Editing > Stop Protection and unlock it immediately. If you set a password, they'll need it. Password protection is stronger if you need to prevent unlocking.

Does locking a Word document prevent someone from copying the text?

No. Someone can copy the entire document, paste it into a new file, and edit it freely. Locking prevents editing within the original file, but it's not a security measure. If you need to keep information confidential, use password protection or a different tool designed for secure documents.

Can I lock a document in an older version of Word?

Yes, but the steps are slightly different. In Word 2010 and earlier, go to Review > Protect Document instead of Restrict Editing. The options are the same — you can still password-protect, restrict editing, or protect forms. Check your version's help menu if the tabs don't match what you see here.