This hypothetical dilemmas is bad in general. They sometimes are unrealistic. I remember dilemmas like if you see two people drawing, and only could save one, which one you choose?
The Buddha said what leads to bad actions should be considered bad. Then this hypothetical situation leads you to accept lying, then it is a bad imagination, don't think about it, it is just an illusion. That is the teaching, keep thinking about situation lead to good things.
While the Buddha taught about wisdom in real life, people like tricks for the mind. The simplified situations sometimes bring hate, emotion, fear, acceptance.. many bad things to the mind.
If you have a hard situation, why don't you evade it from the beginning? If you think you could lie to Nazi, why don't you find other safer place for them from the beginning? Then people will answer can't find other place. No, real life is not that simple, there are always solutions. If you limit your mind to theoretical situations, it will stops your creativity, stop your ability to resolve real problems.
That why at some levels, I don't like theoretical situations, they are basically all illusions.
If you don't want to lie, then you must invest enough effort to solve the problem before it happens. You must find a safer place, you could arrest the Gestapo, etc..
Did you ever try your best to find a safer place to hide them? You can't answer this question until you meet the real situations, so every answer is just talk only, it is far from reality.
Why live in a fantasy world, find solution for fantasy problems why you have real problems in your life? Why use your imagination to bring bad things to your mind, is this the teaching of the Buddha?
Please stop following me