Docear/HTW-Frontend#67 checking for locked children. Added test, too