I am pretty sure a hard reset does absolutely nothing to remove that carrier lock, IIRC it stays stuck deep in the system even if you wipe everything!...