If the LOCKED SRC component is in 'INCOMP' status, then anyone can issue an 'R' Recompile and the compile is executed. Now the lock is MOVED to the userid that issued the recompile. The person that original staged and locked the component can no longer EDIT it.
If the component in a package was last changed by userid ‘TEST123’, then locked by userid ‘TEST678’, when the id ‘TEST678’ that locked the component attempts to unlock it they cannot and get the message: CMN8778I - Component locked by TEST123 Notice the error message is referring to the id that last changed the component, not the id that locked the component.