In jersey pocket. Had an issue ONCE.
Some phones have security setting default to FULL RESET phone after 15 failed attempts. Some phones allow a double tap to open. Both of these settings can be adjusted by the user so you can avoid my misfortune.
This combination not good if you happen to put the screen towards your sweaty back by accident.
Had this perfect storm of conditions a few months ago. Got home and phone had done a full factory reset. Lost all my settings and other stuff. PITA.
Adjust either one and no worries.
Seems the bouncing of screen tapping my damp back made more than 15 attempts to open phone. Phone followed settings instruction to full reset. Grrrr
Good luck.