Bad idea: Holding the door open for someone who's several meters away, becoming annoyed that they're not coming faster and thus, slamming the door in their face as you go in first.
Good idea: Not spoiling important story line points for people in film or games.