My current phone has that and it's the absolute worst design choice I have ever seen in a phone. It is constantly triggering when I'm trying to lock the screen. I can't understand what the designers at Nokia were thinking, truly awful hardware design.
Same thing with Fairphone 4. It's either too dirty to register on first touch (the smaller surface doesn't help), or I unlock the screen when I lock the phone.