Removed #include of lock.h in main.c