In the demo/example, one of the buttons has the condition in the form of “pnc_flags.get(‘door_unlocked’) == True”. To hide that button, you can add
$ pnc_flags["door_unlocked"] = False
into the correct label.
For further questions, I am available in the official Ren’Py Discord server.










