SharePoint Document Issues

Fix Unknown Error When Locking SharePoint File in Office 2019

Elise WilliamsElise Williams Oct 14, 2026 869 views

Question details

Users encounter an 'Unknown error trying to lock file' prompt when attempting to open and edit SharePoint documents using Office Professional Plus 2019.

Fix Unknown Error When Locking SharePoint File in Office 2019
Product
Microsoft Office Professional Plus 2019
Device & OS
not provided
Scenario
Opening and editing a SharePoint file after updating Office to version 2302 (build 16130.20218).
Observed behavior
The Office application displays an 'Unknown error trying to lock file' message, preventing normal editing and synchronization.
Before you start

Ensure your internet connection is stable and verify that no other users are currently editing or checking out the document in the SharePoint library.

Solution 1Recommended

Verify SharePoint Permissions and File Checkout Status

Ensuring your account has the correct access level and confirming the file is not locked by another process or user often resolves local locking errors.

SharePoint relies on strict permission and checkout protocols. When local Office credentials fall out of sync with SharePoint, it can misinterpret the file state, resulting in lock errors.

1
Check SharePoint permissions

Navigate to the SharePoint library in your web browser, click the ellipsis (...) next to the problematic file, select 'Manage Access', and ensure your user account has 'Edit' permissions.

2
Verify file checkout status

Look for a small red arrow icon on the file's type icon, indicating it is checked out. If it is checked out by someone else, contact them to check it in, or ask a site admin to discard the checkout.

3
Refresh Office credentials

Open Word or Excel 2019, click 'File' > 'Account', click 'Sign Out' under your user information, and then sign back in to refresh your SharePoint authentication token.

Verify SharePoint Permissions and File Checkout Status
Admin Override: Site administrators can force a file to unlock by navigating to Library Settings > 'Manage files which have no checked in version'.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Collaboration

If Microsoft Office updates are causing workflow disruptions and SharePoint errors, consider switching to WPS Office. It provides a free, lightweight, and highly compatible alternative for opening, editing, and sharing documents without the heavy update bugs of traditional desktop suites.

Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Lightweight installation with faster load times and fewer background update disruptions.Familiar tabbed user interface ensures seamless migration with zero learning curve.Built-in cloud integration and collaborative tools for straightforward file sharing.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Office 2019 say 'Unknown error trying to lock file'?

This error typically occurs when the local Office client fails to synchronize the file's checkout status with SharePoint. It can be caused by permission glitches, cached credentials, or specific bugs introduced in recent Office updates like version 2302.

How do I clear the Office cache to fix SharePoint sync issues?

You can clear the cache by opening the Office Upload Center (or Office Document Cache via settings), selecting 'Settings', and clicking 'Delete cached files'. Alternatively, you can manually delete files in the '%localappdata%\Microsoft\Office\16.0\OfficeFileCache' folder.

Can I edit SharePoint files without using the local Office 2019 client?

Yes, you can use Office for the Web by selecting the 'Open in browser' option directly from your SharePoint library. This bypasses local client update bugs and synchronization locking issues entirely.

How can an administrator force unlock a file in SharePoint?

A SharePoint site administrator can unlock a file by navigating to the document library settings, clicking on 'Manage files which have no checked in version', and taking ownership of the file to discard the checkout.