You forgot to put the phone on Vibration/ Silent, but the phone rings in the middle of a class or meeting.
Just calmly press once to change a ringtone to vibration.
When the phone rings, you can press any button to change it to vibration. (This works in vice versa.)
※ For iOS, there’s functional limitation on ‘A Ringtone to Vibration’.