Added a tests and a check to ensure that locks can't be made on already ...

...locked nodes.