Add mutex lock to node