Rooting a phone will not carrier-unlock it, but it allows you to customize the operating system or install a new one.