Details are scarce so I'm speculating, but it's likely configurable so you can set it to unlock only if actually pressed/clicked rather than just touched, which should solve the problem.
While the phone is on, the power/fingerprint button "also acts as an extra input, allowing you to pull down the notification shade by swiping across the button – or set it to refresh a page, scroll to the top, or control media playback if you prefer." [1]
While the phone is on, the power/fingerprint button "also acts as an extra input, allowing you to pull down the notification shade by swiping across the button – or set it to refresh a page, scroll to the top, or control media playback if you prefer." [1]
[1] - https://www.google.com/amp/s/www.techadvisor.com/article/805...