A read/write lock for node.