Clean old docs
Added two new versions of lock. First with conflict resolution by id and second using Lamport clocks.