does anybody know if there is a patch etc to disable or lock the volume buttons as i keep knocking them, like when im playing music and the phone it my pocket or when im on a call

ive looked around but find anything so this may be a request with $$ waiting