Suppose you are sitting in a plane and watching a video in horizontal orientation then after some time the plane bends sharply to left and your video changes its orientation. This tutorial explains you how you can easily avoid such conditions by turning off your screen rotation temporarily.
Take your Android device and tap the rotation lock present in the Notification Shade. This will keep the screen in its current orientation. For unlocking the rotation, tap it again.