修复: 文档 Locked by Another User in Word

By GenText Editorial Team 2026年3月30日 word-tutorial
分享

快速回答

Wait for other user to 关闭 文档, or copy the 文件, edit the copy, and merge changes manually later.

The 问题

You try to 打开 a Word 文档, but Word says “文档 is locked for editing by another user” or “文件 is locked.” You can 打开 it in read-only mode, but you can’t make edits. The other user closed Word hours ago, but the lock persists. You need to edit the 文档 now, not wait for them. The 文件 is on a shared network drive or OneDrive, and you don’t know who’s editing it.

Quick 修复

Copy and edit the 文件 immediately:

  1. In the lock dialog, don’t click OK or Cancel yet
  2. Instead, right-click the 文件 in 文件 Explorer/Finder
  3. Select Copy
  4. Right-click in the same folder (or different location)
  5. Select Paste
  6. Now you have a copy (e.g., “文档-copy.docx”)
  7. 打开 the copy
  8. Edit the copy freely
  9. When the original user is done, you can merge changes or replace the original

If you want to unlock the original, proceed to 步骤-by-步骤 解决方案.

步骤-by-步骤 解决方案

步骤 1: Identify Who Locked the 文档

Find out who’s editing.

  1. Right-click the locked 文件
  2. Look for properties or details showing “locked by:” or “being edited by:”
  3. The username might appear
  4. Alternatively, 打开 the 文件 in read-only mode:
    • Click Edit Anyway or Read-Only button
    • Go to 文件 > Info
    • Look for message showing who locked the 文档
  5. Contact that person and ask them to 关闭 the 文件

步骤 2: 打开 in Read-Only Mode to See Who’s Editing

Read-only view reveals editing user.

  1. When Word shows “locked” dialog, click Read-Only
  2. 文档 opens in read-only mode
  3. Go to 文件 > Info
  4. At the top, message says: “文档 name is being edited by [Username]”
  5. Contact that user
  6. Ask them to 保存 and 关闭 the 文档

步骤 3: 检查 OneDrive or SharePoint Active Users

If 文件 is on OneDrive/SharePoint, see live editing status.

  1. 打开 OneDrive.com or SharePoint in browser
  2. Navigate to the folder containing the 文件
  3. Look at the 文件 in the list
  4. It might show “Being edited by [User]”
  5. Or hover over the 文件 to see status details
  6. Message that user to 关闭 it
  7. Or wait for them to finish (they might be actively editing)

步骤 4: Wait for Lock to Timeout

Files locked by another user automatically unlock if they 关闭/disconnect.

  1. Ask the other user to 关闭 the 文件: “Can you 关闭 [filename]? I need to edit it.”
  2. They 关闭 the 文件
  3. Try opening your 文件 again
  4. Lock is released
  5. You can now edit

If they don’t respond or are unavailable:

  1. Wait 15-30 minutes (typical timeout for network drives)
  2. 检查 if 文件 is still locked
  3. Network drives auto-unlock after inactivity
  4. Then you can 打开 and edit

步骤 5: Force Unlock on Network Drive (Admin Only)

If you’re the network administrator:

  1. On the network server where 文件 is stored
  2. 打开 network share properties
  3. Look for “打开 files” or “Active sessions”
  4. Find the locked 文件 session
  5. 关闭 the session (varies by server type)
  6. 文件 lock is released
  7. Users can now 打开 it

Note: Only server admin can do this. Regular users can’t.

步骤 6: Create Copy to Edit Independently

Don’t wait—edit a copy instead.

  1. In 文件 Explorer (Windows) or Finder (Mac), locate the locked 文件
  2. Right-click the 文件
  3. Select Copy (or Duplicate on Mac)
  4. Right-click in same folder
  5. Select Paste
  6. New copy created (e.g., “文档 - Copy.docx”)
  7. 打开 the copy
  8. Make your edits
  9. 保存 the copy
  10. When original is unlocked, you can:
    • 比较 两者 versions (Track Changes > 比较)
    • Copy your edits into the original
    • Or replace original with your copy (if approved)

步骤 7: 保存 Copy with Different Name

Avoid 文件 conflicts.

  1. Copy the locked 文件 (as in 步骤 6)
  2. Rename the copy: Right-click > Rename
  3. Give it a clear name (e.g., “文档-Alice-Edit.docx” or “文档-v2.docx”)
  4. 打开 and edit the renamed copy
  5. 保存 it
  6. Later, merge or consolidate with original

步骤 7: Use “Edit Anyway” Option if Available

Some Word versions offer “Edit Anyway” button.

  1. When lock dialog appears, look for “Edit Anyway” option
  2. Click it
  3. Word opens in edit mode
  4. However, when you 保存, you might overwrite the other user’s changes
  5. Be cautious—use only if you’re sure the other user has finished
  6. Better to wait or copy instead

步骤 8: 检查 for Stale Lock Files

Sometimes lock files remain after user closes abnormally.

  1. Go to 文件 location (文件 Explorer/Finder)
  2. Show hidden files: (Windows: View tab > Hidden items; Mac: Cmd+Shift+.)
  3. Look for files named:
    • .~lock.filename.docx or
    • ~$filename.docx or
    • .filename.docx~
  4. These are lock files
  5. If they’re very old (days), you can delete them
  6. Delete the lock 文件
  7. Original 文件 should now 打开

步骤 9: 检查 文档 Properties for Lock Info

Examine 文件 details.

  1. Right-click the locked 文件
  2. Select Properties (Windows) or Get Info (Mac)
  3. Look at modification date and time
  4. If last modified hours ago, it’s a stale lock
  5. Proceed with force unlocking or copying approach

步骤 10: Ask 文件 Owner for Exclusive Edit Rights

If this happens frequently:

  1. Ask the 文件 owner or manager
  2. Request to give you exclusive edit rights during your editing time
  3. Or use 版本 control (each person edits at different times)
  4. Or switch to Track Changes (allows multiple editors simultaneously)

Why This Happens

  1. User still editing — Person is actively editing the 文件
  2. User didn’t 关闭 properly — They closed without saving or crashed mid-edit
  3. Network lag — Connection 问题 prevents lock release
  4. Stale lock 文件 — Lock wasn’t cleared when user closed abnormally
  5. 文件 permissions — Network drive settings restrict simultaneous editing
  6. OneDrive cached copy — Cached 版本 is locked; sync 问题 prevents release
  7. Multiple devices 打开 文件 — Same user has it 打开 on two devices
  8. Backup/sync conflict — Backup software or syncing creating lock

如何 Prevent It

  1. Always 关闭 files properly — Don’t force quit; use 文件 > 关闭 normally
  2. Don’t 打开 文件 on multiple devices simultaneously — Use one device at a time
  3. Use OneDrive/SharePoint — Better handles simultaneous access than network drives
  4. Use Track Changes — Designed for multiple editors; prevents locking
  5. Coordinate editing time — Agree on who edits when
  6. 保存 frequently — Reduces need for others to interrupt
  7. Use 版本 control system — GitBook, GitHub (for 版本 control)
  8. 禁用 auto-backup during active editing — Some backup tools cause locks

Still Not Working? Alternative Solutions

  1. 打开 in Word Online — Browser 版本 might not lock as strictly
  2. Convert to Google Docs — Different collaboration model, no locking
  3. Copy all content to new 文档 — Create fresh 文档, paste content, lose formatting
  4. Email copy for editing — Send email with attachment, edit separately, manual merge
  5. Use OneDrive instead of network drive — Better simultaneous access handling
  6. 重启 computer/network connection — Sometimes refreshes lock status
  7. Delete and recreate 文件 — As last resort, copy content to new 文件
  8. Contact IT 支持 — If on company network, have admin unlock

Key Takeaways

  • Files locked when another user is editing; wait for them to 关闭
  • 打开 in read-only mode to see who locked it (文件 > Info)
  • Copy the 文件 and edit the copy if you can’t wait for original to unlock
  • Rename copies clearly (e.g., “文档-v2.docx”) 为避免 conflicts
  • Lock files (.~lock.* or ~$*) are temporary; they auto-delete after timeout
  • OneDrive/SharePoint handles simultaneous editing better than network drives
  • Use Track Changes for true multi-user editing without locking issues
  • If lock persists hours after user closed, delete the lock 文件 or copy original

相关指南

每周节省数小时

自动化Word内的重复任务——起草、引文和格式化在几秒内完成。

免费试用
分享
Word-教程 troubleshooting Microsoft-Word sharing