Lock ready for testing