Lenovo t480 laptop.
This might be contingent upon if the operating system can see it and access it. Not just detect that it is there, but use it. If it can, then search for how the operating system accesses it.
Or, separately it might be contingent upon if you have UEFI anywhere on you laptop (anywhere on it).
If the current OS can not use the fingerprint scanner, then install the original version of the original OS on the laptop and work from there. I expect that the scanner might have an infrared heat detector that detects a finger near to the scanner then takes one or more photographs of what is in front of the scanner. Then a program parses those images into pixels and analyzes those pixels.
If you can override the infrared detector and activate the scanner's camera, then you might be able to use the fingerprint scanner to take pictures of who and what is in front of the laptop any and all time that it is on. If you have UEFI on your laptop then you might be able to run it without the operating system even booting up and take pictures 24 hours a day wherever the laptop goes. To work, to the bathroom, a clothes changing room, to a special secret meeting, etc. It was put there to take pictures automatically.
Tell us how you are doing with this.
I would expect C or almost any version of C++ to work with this.
You might have to study how UEFI actively spys on systems and users by design. There are many versions of UEFI and many are manufacturer designed. They should not be too complicated to work with or replace with your own version.
If your question is to learn how to stop the fingerprint scanner from spying, then I think that the best way is with a soldering iron and/or at least wire cutters. Same with some other things that are on the t480 and other similar laptops.