The serial killer has just diced up your spouse and asks you, with an insane leer on his face, where your child is hiding.
Anyone here going to tell the truth?
And if you think silence is the 'MORAL' option, it is easy to change the scenario. He asks if you child is home. When you remain silent, he begins to search. What parent would not call out 'She's at her friend's house.' or some other lie in the hope the SK will buy it.
You could say that this facet of Islam is similar to utilitarian moral ideas. What does the greatest good? Often religions, and any moral system based on rules, take away the followers' responsibility for such decisions, by having a rule that one must follow, regardless. My impression from Muslims I have met is that stealing falls into the category in Islam. One cannot use context to justify stealing. I don't know how correct their assertion of this was.
But at least in this respect Islam is quite similar to secular humanism, actually. I believe most secular humanists would lie in certain situations and defend the act as moral.