Hi Arpit Agarwal, thanks for working on this. Having read the change, it looks good. A minor not introduced by this, but would be good to fix.
- In the following, it says AutoCloseable wraps ReentrantLock, which isn't accurate. ReentrantLock => Lock.
* This is a wrap class of a ReentrantLock. Extending AutoCloseable
* interface such that the users can use a try-with-resource syntax.
The patch could also be re-based.