My first instinct is to say that lying to someone is never a good or reasonable answer. The circumstances are, of course, a significant factor if and when you are ever faced with the situation where you think you might have to lie to someone. One lie could potentially lead to another lie and then another and before long, the whole thing is off the rails. This doesn’t happen every time but more often than not, in my opinion.
My best advice would be to always tell the truth no matter what feelings or outcomes may cause anger or discomfort later on because you can always take additional time later to explain to the person why you told them what you had to say. If lying is your only perceivable action that you can act on, I would recommend caution and use your best judgement.