Expose lock timeouts to public API.

It is now possible for users to cause locks to timeout. This information has
been added to the README, along with an example and some minor rewordings.

Signed-off-by: Brian L. Troutwine <brian@troutwine.us>