Add support for NLM locking.
Add an example for "destroy your lock manager" test.