AutoMuter cydia tweak automatically mutes and also prevents you from accidentally unmuting your device, when there is an event in your calendar.
If you have “iStudiez Pro” installed, it will also mute while you are in course or at exams.
After the event the previous muting state is restored.
In the settings app you can set:
No new icon is added to your home screen.
Configure options from Settings.