locking test