To keep tacos from opening in the air fryer, use toothpicks to secure the taco edges together before air frying.