Most phones are big now, so sometimes it makes sense to rotate over to landscape mode. If that’s the case, you might want the screen to move along with you, so it’s a more natural experience that matches how you’re holding the phone or tablet.
There are a couple of spots to do this with Android Marshmallow. If you have the Google Now Launcher, swipe right over to Google Now and launch the Settings.