first *very* rudimentary docs for locks.erl