People clapped, banged pots and pans, and played the bagpipes to honour key workers battling the virus.