Solution add a feature to warm up the screen to exactly 98 degrees to avoid detection. Learned this from sneakers.
It would cause me a massive problem - I basically only remember my pattern
The proper solution would be let user draw some figure anywhere on the screen then OCR it.
If you are talking in general, hmmm yea hard, especially if it's mandatory.
But if you're not going to allow that, but you will allow impractically complicated solutions, then I think you'd be better off asking them to use their pin in a math problem. The CPU could easily choose one that didn't require remainders, to keep it mentally simple.