Added ReentrantLock.