Door to be unlocked by various keys. Possible?

This previous thread might help:
https://intfiction.org/t/a-door-with-2-keys/957/1

The topic has also come up on rec.arts.int-fiction, but I don’t remember precisely when.