Code example for ReentrantLock

Methods: lockunlock