It is actually available without jb'ing.
double-click the home button, like you were going into fast-app switcher
swipe the bottom row icons to the right, it'll bring the ipod controls and a rotation orientation lock button.
ba-da-bing!
a friend told me about this a couple weeks ago, was just now searching to see if I was the last to know about this iOS4 feature... apparently not.