How do you disable automatic screen rotation

How do you disable automatic screen rotation
Afunctia can become stressful for automatic screen rotation when you do not want this.
Certainly there are many who know how to disable this function but many people do not know how to do it, whether you have an Android phone or tablet.
I have to look through a simple tutorial how to disable this function or how to act.
I used a phone Allview Viper L but the tutorial does not differ very much if you have another model of phone or tablet. In general, the function is deactivated as you'll see below.
Enter the phone menu and search for "Settings"
Search, select and open the option "Show"
There you will see 'Auto-rotate screen "Depending on your preference, tick or uncheck this option!