To enable rotation lock and prevent the screen from automatically changing orientation when the iphone is turned: 1. Double click the home button to bring up the multitasking bar. 2. Swipe right until ...
That is all. I don't need a mute switch on my iPad. I don't like having to double tap and swipe and tap and double tap to lock and unlock the rotation. The hardware rotation lock switch was brilliant.