Unlock on Release?

Hi Community,

Is there any way to either block or unlock Items/files/objects when moving them to the Released State in the Maturity status, if they are lLocked by a User?

 

As far as I could tell it looked like API is needed but I could be wrong here. 

 

Any thoughts or experiences?

Kindest,

Allan