Update lock.h