Code example for ReadWriteLock

Methods: readLockwriteLock