lock test