Screen rotation is locked by default in Nexus 7. It took a night to notice the icon. Well, I am still new to Google Android. I am not sure whether it is Android 4.1, Jelly Bean default behaviour. After swiping the screen from top, you will see the tiny rotate icon with a lock next the time / date. Clicking that icon will toggle between lock screen rotation or auto screen rotation.