They are mutually exclusive because of how they work. But you almost always use DCIB when you use DB anyway.
DB works by pulling motor energy off of the motor as electricity by turning the motor into a generator, which pushes the electricity back into the DC bus where it is shuntied into a resistor to be burned off as heat. But that suffers from the law of diminishing returns because as the motor slows, it contains less and less kinetic energy, so less and less braking torque is realized and at some point, the motor cannot generate enough electricity to feed back into the drive and the motor coasts. So once that happens, you cease the DB and trigger the DCIB to put DC on one winding, which makes the rotor line up to the now non-rotating magnetic field. DCIB will "lock" the rotor, but can only do do briefly, because it is heating up the rotor, yet the cooling system for it no longer exists. So once the rotor stops, the DCIB turns off. All of this is programmable in the VFD.
If you need to HOLD the shaft for safety reasons, you cannot use electronic braking of any kind, because if power fails, you have nothing. So you use a mechanical brake as a "parking brake", but use the electronic braking first so that the mechanical brake never wears out.