In C++ you have Property Edit Conditions that you can specify for variables:
This way you can have a set of UPROPERTIES that require another boolean to be true in order to edit. However, this functionality doesn’t exist in Blueprints explicitly, only in C++. I hope this helps.