Updated header file lock.h, threw in all the register definitions and function prototypes.