How to stop Home button?

Hello everybody,
please forgive me for my – maybe – silly question: is there a way to prevent temporarily the Home button from working? The problem I am experiencing is when keeping the smartphone in my pocket, the minimum unintentional move or touch, while walking for example, is stopping the app currently running. As an example, that is stopping my smartphone from completing a recording with me unaware that is stopping. Probably many of you can find my question as being, for some reasons, a silly question, but for me that is a big problem. That’s why I thank alot in advance those of you who will consider to reply my question.

Looks like your connection to Meizufans was lost, please wait while we try to reconnect.