Only include unlocked nodes in layout.  Refs #2945

Change-Id: I6efe87c6dd9786a2d07389d63eb05730a8dcb831