lock measurement