add lock example
fix typo
Merge pull request #35 from segmentio/add/lock-example

Add/lock example