From what I understand, your calls of the new_node and unlock_node functions are either referencing the description of the name of the node, when they should be called with the label name.
If you are a DevTalk member, you can also go there where I’m more active.