Include lineage locks in discovery.