a key is attached to a door with a lock