If you are running the MIUI 9 Global Stable (126.96.36.199) you can have the Face Unlock feature(Recieved by Redmi Note 5 Pro in the Latest Update) enabled
Follow the steps below-
1. Download the zip file(link below)
2. Flash it using TWRP Recovery.
No need to clear any cache
Exetron on 4pda.ru
1-Will it work on other devices?
I do not know for sure, but for similar configurations it might work, you are free to try it on your device and post it below how it works.
2-Does it work on Developer Rom?
3- Will it be ported for other XYZ device?
Download link– Here