Testing lock