Can you switch your sim card between two iPhone 4?

I'm having AT&T service. My friend said I can't switch the sim card between 2 iPhone 4 if I don't unlock either one. Is that true?

You will need to advise the carrier of the change it doesn't matter if it's prepaid or not as they have to get you on their system.
one of the rules of all mobiles not only iPhone 4:)