[This is not security advice, for personal laptops this type of face recognition is convenient, not more secure than a strong password.]
Over the years I have seen quite a few posts concerning face recognition, typically centered around the Howdy project. That project seems abandoned, though.
I recently learned about an alternative that is very actively maintained, and works very well for me: Gaze (https://github.com/GunduLabs/gaze). They have specific instructions for Fedora Linux and a maintained DNF repository; check the section Manual install (Debian/Ubuntu, Fedora/openSUSE RPM systems, Arch/Manjaro/CachyOS). They have GUI for both Gnome and KDE (I use KDE).
I have been using Gaze for login, unlock, sudo etc. (through PAM) for a couple months now, and am quite happy with it.
I have no affiliation with the project, just a satisfied Fedora user ![]()
/Jaybe