Holidaymakers prevented from flying by travel restrictions or lockdowns may not be entitled to a refund.