Lock test.