A SIM swap hands your text codes to an attacker. The locks to turn on at T-Mobile, Verizon and AT&T.
How SIM swapping works, the FCC rules adopted for carriers (compliance still delayed), which locks to turn on at T-Mobile, Verizon and AT&T, and what to do when a phone suddenly shows No service.