get 'Lock' working correctly