Most of Android smartphones comes with predefined user profiles (Normal, Sleep, Meeting, Outdoor...), but you are not limited to these options.
Here's how to create a new custom user profile on Android:
Go to Settings > Profiles.
Click on the + button to create a new profile.
Give a name to the profile:
Define the actions for the new profile (Volume level, vibration,...) and click on Done.
This document, titled « Android - How to create custom user profiles », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).