The spec inherit job runs periodically, but at the end of its cycle it generate a message that "Inheritance relationship was not processed owing to a lock error".

Is there a way to identify where or what has a lock on the spec? how to overcome this error on applying inheritance