jackalope/jackalope — comment on commit f9c8240dbe2b2236d16bc17badd2ff1bdbe8be89
File: src/Jackalope/ObjectManager.php line 1535
By sixty-nine:

The LockManagerInterface::lock phpDoc says:

* @throws \PHPCR\InvalidItemStateException if this node has pending unsaved changes.

There was a misunderstanding from my part here I guess...