Many recent mobile's to turn off/on auto rotate the screen settings is provided in the shortcut. So if we swipe down the screen we will be able to see the auto rotate settings but in Moto G mobile auto rotate mode is shortcut is not provided.We need to do this through accessibility settings

Go to Settings -> Accessibility -> Auto-rotate screen.