On my non-rooted Android 6.0, there is an "Safe Center" in System Settings.
Clicking on it opens "Background app management" which has features for restricting apps:
I've not seen such setting/feature before in previous versions of Android. So, I want to know what the "Safe Center" is and How it works.