a key can be used to open and close doors