lock,rwLock demos