Yes, the point of this feature is to allow you to unlock your phone even if you are wearing a mask, sunglasses or anything else that obscures your face.