You don’t specify the age of the people being lied to. If a child’s mother or father was a violent criminal or did some horrible action that someone under 15 couldn’t possibly understand or comprehend without it doing grave psychological harm to them, it might be significantly kinder and more emotionally responsible not to tell them. Not everyone can handle the truth, nor should they have to.
Also, say for instance someone made a deathbed confession that they hated their child or never should’ve married their spouse (who perhaps is close to death themselves). Is it really such a loving gesture to destroy that person’s sense of stability and trust in human beings? Not everything is black and white. If there’s no possible benefit to telling someone the truth and it’s guaranteed only to permanently harm them emotionally and cause them to lead a lower quality of life, I would most likely either withhold the truth or answer purposefully vaguely so as to constitute a lie.