added Lock classes