How to use face unlock in Sony Xperia Z2 running Cyanogemod 12? In Cyanogenmod 12, how do you unlock based on your face? I went to "smart lock" and trained facial recognition. Now I go back to the Screen lock and there is still no option to unlock with the face.



Screenshot - No face unlock option(Click to enlarge image)
Set a screen lock with pattern or pin or password
Now smart lock will be enabled in Settings->Security below Owner Info
In smart lock select trusted face.
Lock your phone and you will see a smaller user icon at the bottom.
If your face is recognized it will changed to unlock icon. Swipe and it will unlock