initial lock checking mechanism