Unlike iphones, samsung face recognition does not work in the dark.
Iphones use IR lights inside the phone to shine on your face, then takes a 3D scan.
Samsung's system takes a photo of your face with the selfie camera. They are totally different.
Of note, face unlock on samsung devices is also nowhere near as secure as iphones. Because samsung put effort into fingerprint scanning, where iphones put effort into face scanning