added Lock class, working on implementation, starting testing lock