lock test cases