Update comments on setlock

Make it obvious that timeout value is milliseconds.
Add more meaningful timeout/retry values to tests
Fixed typos in comments.