graham i think its dangerous yours solution
because if you press after spindle already run ,then its will stop run ,but not brake ,so it can rotate about 5 min ,and user can think
if no any message no alarm spindle already stop,and put his hand inside
i think bater pass the controler ,the M3 function not try bypass it