It's known as the Monty Hall Problem/Paradox.

Edit: Damn you beat me to it Jyms. I was just about to edit and relink the wiki article as well =(.