hi..
Problem Sloved##$
I am also facing this problem from last few days, reason was that at one time I made turn off my phone auto rotate icon.
After searching throughout the phone I got it again.
Follow the process
Samsung Members App -> Diagnostic-> optimised setting-> Auto rotate
make it on.
Thank u and have a great day.