We covered in 101 how addresses are generated from spending conditions. YOU pick what can unlock YOUR coins.
You can also use logic to give multiple options: spend this way, OR that way.
Almost all addresses are scripts. Here I’ll nickname multiple-choice scripts a “path switch”