Actually, a hard reset wont touch the carrier lock on your Samsung Galaxy A71. That lock is written to the EFS partition and tied to the IMEI, meaning...