Airplane mode turns off all data communications.
From the Home screen, press and hold the Power/Lock Key (on the right side of the phone), then tap Turn on Airplane mode.
OR
Swipe the Status Bar downward to open the Notifications panel, then tap the Airplane mode icon (blue is on and gray is off).