I typically just close the door, and my wife knows not to disturb me when the door's closed. It's pretty darn simple, really. I agree with the other post - have partners and family that understand "when I say I'm at work, do not disturb me". Perhaps a 'do not disturb' sign would be more effective?