Code example for ReentrantLock

Methods: hashCodegetHoldCounthasQueuedThreadsisHeldByCurrentThread