remove lock.cpp.  lock.h has the logic