there is no portrait mode in Redmi 5
my device is running 10.2.1.0 beta stable rom
NO PORTRAIT IT WAS A FAKE PROMISE
My older device was Moto E3 POWER with Android 6.0 marshmallow it had the option to face unlock.
poor Xiaomi developers..

from app

from app