Added a tests and a check to ensure that locks can't be made on already locked nodes.
Merge pull request #438 from mikedurbin/deep-locks

Added a tests and a check to ensure that locks can't be made on already ...

Resolves: https://www.pivotaltracker.com/story/show/77036668