Adding Off Button to Pi 4

Hi All,

Trying to add an off button to a Pi 4 running balena sound. Does anyone know how to do this? Can’t find anything online.

Thanks!!