1) In conditions when bright sunlight is behind you, the speed of unlocking can be slow or maybe fail.
2) When the ambient light is dark, the speed of unlocking can be slow or maybe fail.
3) When you are wearing sunglasses or something which covers your face, it can also fail to unlock.