Only release if locked