In what scenario would you need to use a script call to unlock a node? I am just curious. You can use switches to unlock nodes and I would assume this would be the same function that you are looking for. Could you please give an example?