The buzzer went off when the timer ran out.
タイマーが切れるとブザーが鳴った。
The buzzer sounded when the door was opened.
ドアが開くとブザーが鳴りました。