Is lying always wrong?

What about lying about something that has nothing to do with others? Like if you're a celeb and lie about your wife being pregnant or something?

Or lying to keep people safe? Like keeping Jews in your house during the Holocaust?