Two of the keys can't open the door, so there is a method of C (7 7,2) = 21.
So the probability of not opening the door is 2 1/45 = 7/ 15.
The probability of opening the door is1-7/15 = 8/15.