more tests on Lock