Muting midi or instrument track while in score or key edit

Hi all
I’m using the keyboard shortcut “M” to mute a midi or an instrument track
But this shortcut doesn’t work when I’m into the score or key editors (the focus is on the editor window)

I have to close the editor, apply the M shortcut, and open the editor again, which is time consuming and not friendly

There must be a quick fix to mute the current edited track while staying in the editor (score or key editor)

Thanks to share your experience