modified example in README.md

clarified arguments of withLock callback
Clarified example description text in README.md
Merge pull request #2 from explicitcall/master

modified example in README.md