Question [Q] Disable power and volume wake mod

I used to have a mod via Xposed that disabled the power and volume buttons when the screen was locked so I didn't accidently turn on my phone when its in my pocket. I cant remember what it was called and have searched but cant find it. I seem to think it was Nottach but I have tried to install that and it just crashes my phone.
Any suggestions please?
Thanks