Trigger that on research finished event and the researched upgrade was the upgrade, disables the availability for the other 2 upgrades for the owner of triggering unit. There is an action to do this. There are also actions to do this for training/building units and casting abilities.