Added print statements to Lock
Merged with Head