Lying to save an innocent person's life has been found moral by most reasonable people throughout history. Take for instance those who hid the Jewish in their homes from the Nazis - it's not like they would say "Why yes, I am hiding some Jews behind that bookcase, would you care to arrest them?" when asked about it, and most would consider them paragons of virtue for taking such a risk.
Yes, that's the example we all use but I don't think that makes lying
moral. In that case, it's amoral but certainly the appropriate thing to do.