When is it okay to lie?

If someone showed up at your door to murder your mother and asked if she was home, you’d probably be morally justified in saying no. But justified lying can be a slippery slope. Where do you draw the line?