Add readWriteLock example