Depends on the computer.
I got a used military spec GETAC computer that is great for the garage (drop proof, waterproof, super bright display that can be read in direct sunlight, etc) and the thumbprint reader works even when you are very dirty.
Give your thumb a 1 second wipe on your pants leg and it will work fine.