Adding lock