testing lock