Unlocking does not void warranty in some phone service.
You can ask the phone service to unlock your phone.