No, I can't turn it off and it was always from a locked screen, I think it's a legal requirement in the EU. I now keep my phone always with the screen turned away from my leg in my pocket and that seems to prevent it well enough, even though I still often get to almost calling 911 when I take it out of my pocket with my hand.