You're not altering the phone, hardware OR software when you unlock it. You're just freeing it up from your carrier's specific, network-imposed use limitations.
When AT&T or Verizon unlock your phone, it doesn't impact your warranty. This doesn't either. It's the same process.
When I get it exchanged for whatever reason, will they be giving me an unlocked phone?