You can set the phone to mute by using the silent switch and you can turn on Do Not Disturb as well.
But as far as one action to silence ALL sounds at once, there is no option for that.
A 'silenced' stock iPhone does not silence alarms - unless you specifically go into the clock app and turn them off.