Two chests. Make the player choose one?

I tried this using conditionals and switches,  but nothing worked. I want to have two treasure chests in the same room but have the player only be able to open one of them. Simple enough, right?
Just have both chests flip a specific switch, then have that switch deactivate the event for both chests. If you want the chest that is opened to appear open you could use a second switch for that (One for each chest, instead of one for both).
Use the "quick event creation:treasure chest" to see how treasure chests are made (right-click on map)


But instead of the self-switch of the quick event, make your chests both use the same general switch.


Be reminded that you cannot use that switch for anything else ever in your game however.
So what it would look like:

You have the Quick Event Chest where it does the Self-Switch to open up in the 1st and 2nd pages; somewhere in the 1st page, turn on a Switch (such as Chest Lock) on. Now make a 3rd Event page with the shut chest graphic and its Condition that the Chest Lock Switch is turned on. Do this for both chests and once you open one, the other cannot be opened.
Yes, that worked Chiakster, thank you.

Original thread: https://forums.rpgmakerweb.com/threads/two-chests-make-the-player-choose-one.43597/