Update Lock.hpp