Referencing Variables Outside Levels

Have a bool in a persistence place both the button and the door have access to. All the button will do is toggle that bool, it does not have to know the door exists. When the door loads, it just checks that bool and updates accordingly.

For example:
The button:

The door:

The result:
DoorLockUnlock