lock-check