Let's say we have $n$ keys and $k$ locks on a door, with $n \ge k$. The $n$ keys are different, i.e. only $1$ key goes into a specific lock. Also every lock has a key that goes to it (but some of the keys may be "duds"). What is the probability of unlockin gthe door on the $M$th attempt?
If we had $n$ keys and $1$ lock then obviously the probability to unlock on $M$-th attempt would be $\frac1n$, but now we have more locks.
So let's say we have $11$ keys and $2$ locks, what the probability that while we unlock we use up $3$ keys that are bad?
Is it $\frac1{11}\cdot\frac1{11}$ because we try the key on both doors before discarding it? If it doesn't unlock any door we don't use it again.
What if we have more locks?