lock class, initialization