If you use an iPad, there is a switch conveniently located at the right side of the device which you can set to either lock the orientation of the screen or to mute the audio when you slide the switch—depending on your preference.
To set your preference, go to Settings > General, and under the “Use Side Switch” section, choose either “Lock Rotation” or “Mute.”