As far as I can tell:
You need to jailbreak the iPhone to do anything Apple doesn't want you to.
That includes unlocking, but you don't need to unlock the iPhone after jailbreaking, you could just be installing a few 3rd party apps.
And I guess no matter if you jailbreak or jailbreak+unlock, Apple will brick your iPhone with an update.