Removed unused  Lock class, since default JDK ReentrantReadWriteLock is used now