I have a Redmi note 10 pro & I noticed there is a bug in the phone as it unlocks the phone automatically. I have turned on the double tap to wake screen function & when I do so, it remains unlock.