You cannot totally remove a BC during the model run without an IFM.
Your alternative option is to control BC activity with constraints. At times when the BC needs to be inactive, both inflow and outflow constraints must be 0. These constraints can be assigned with time series.