Depends on computer, PC vs Mac
I'm familiar with the PC version, go to Edit, Preferrences, then devices. There is a box to check by the statement, prevent iPods, iPhones and iPads from syncing automatically.
Do this without the phone connected to iTunes. Close iTunes and then connect the phone. It should not open then.