Windows application to disarm an alarm

Has anybody already made a Windows application which would take a PIN or password and then if the right password was entered send an MQTT message?

Basically I have a use case where this would be useful for an office building to popup on workstations.

Home Assistant controls the office building’s alarm.

If nobody has already done this I’ll write one in AutoHotKey but thought I’d ask the community first.