Unlocking is for use with another carrier. Jailbreaking is for the ability to have complete control over the device.
http://ipod.about.com/od/ipodiphonehardwareterms/g/unlocked_def.htm
http://ipod.about.com/od/iphonesoftwareterms/g/jailbreak-definition.htm
This. ^^^