User blog:ShadowRezza/How would i set the computer so that i type in a password and the door to my house opens?

Hey, i'll get straight to it. I recently discovered the computer and i saw on youtube a person who had hooked up his computer to his house door so that when he opens the computer he types in a password and the door opens.. Can anyone give me tips or instructions on how to do that?