ERROR
When attempting to run a geoprocessing tool in ArcGIS Pro, the process fails and returns the error message:
Error: Cannot acquire a lock.
A schema lock is applied to a geodatabase, and it restricts the data from being edited simultaneously by two different tools or applications. For example, an attribute table is opened when attempting to run the Spatial join tool. The schema lock is applied to the attribute table, causing edits to be allowed exclusively to it. Refer to ArcGIS Pro: Schema locks for more information.
Identify the current running processes in the ArcGIS Pro project and close them. Below are situations where the error occurs and how to solve it:
Get help from ArcGIS experts
Download the Esri Support App