Read-write lock for Node.