Clearing Locks in a Database
Databases are locked while you are working on them so that other users cannot modify them at the same time. Databases can also become locked if Modeler crashes while you are working.
When you click Clear All Locks or Clear Principal Locks, Modeler clears the following locks from its database:
Row locks
Context locks
SQL transactional locks
While executing the Clear All Locks or Clear Principal Locks option, if any models are open, some SQL Transactional Locks do not clear. This is because when a model is open, a database link exists between the model and the SQL database even if the model is not in use. The number of open models equals the number of SQL Transactional locks, which are cleared once you close the models.
Use one of the following programs to clear locks on a database:
Model Explorer
Windchill Modeler
SQL Server Administrator or the Model Management API
ScfUtils
Clear All Locks on a database:
Before clearing database locks, confirm that no one else is using the database.
* 
You must be a Database Administrator to clear all locks on a database.
1. Right-click on the database, and then select Clear Locks > Clear All Locks.
2. All locks on the database are cleared.
Clear Principal Locks on a database:
* 
You must be a Database Administrator to clear principal locks on a database.
1. Right-click on the database, and then select Clear Locks > Clear Principal Locks....
2. In the user selection dialog, enter a user name, then click OK.
3. The locks are cleared.