This question already has an answer here:
Both my iPad and my android phone are configured to allow access via either a pin, or a fingerprint scan. However, immediately after a reboot, neither device allows a fingerprint for the first unlock; the pin is required instead. Both devices state "a pin is required to unlock after a reboot".
Why is this? What risk is associated with allowing a fingerprint unlock directly after a power on?