Keys can be assigned to any object reference that can be locked. Any actor carrying the key can automatically open a locked object (door or container) which is associated with that key.