Disable Data connection automatically
You probably need to use some sort of 3rd party program like Tasker, Locale or AutomateIt.

These programs allow you to set triggers such as:


starting an app
screen on/off
connected to Wi-fi
location
etc...


and perform actions based on that, such as:


toggle data
toggle GPS
run an app
etc...