Easy solution: let k from (Z/2Z)n be the key that opens the door. Choose a random k0 in (Z/2Z)n, and give out shares k0 and k1 = k0 + k to the two parties.
More complicated: give access to any 3 out of 7, but no fewer.
Even more complicated: allow people to enter and leave the group.
Even more complicated: give them capability to use the keys, but don't ever bring their keys together (e.g., proactive RSA).
Even more complicated: eliminate the dealer.