rm lock.h lock.cpp