Add LockProtocol
Merge pull request #103 from Cal-CS-61A-Staff/lock

Add LockProtocol