How to stop auto-rotation

I have an app which is in landscape. I have set the build.settings to support both left and right landscape for user convenience.

However, I wanted to put a mini-game in the app using the accelerometer. Of course, as soon as I tip the iPad, the whole scene rotates by 180 degrees. Is there any way to stop autorotation just while I am in the mini-game, or do I have to change the build.settings and only allow one orientation for the whole app?