Correct 'with-lock' example
Merge pull request #79 from gorsuch/master

Correct the 'with-lock' example (gorsuch)