Fixing check for Lifecycle locks