Server locks can occur in WebLogic when a server crash due to a nasty network or data storage issue.
Once those locks are there the servers will fail to restart with a BEA-141281 or BEA-310006 error.
Here is how to remove those locks and clear the cache to successfully restart your WebLogic server :