Having just bought a brand new AT&T locked iphone is it easier or maybe better to unlock/jailbreak it before synching with itunes.

All advice and your guidance appreciated.

Thank You