Product keys were required for Windows 7 and 8.
For Windows 10 and 11 licensing data is entered into Microsoft servers during activation.
This enables later clean installs and drive replacements.
.
.
If you want to view available product key information then some options are:
wmic path SoftwareLicensingService get OA3xOriginalProductKey
https://support.microsoft.com/en-us/windows/activate-windows-c39005d4-95ee-b91e-b399-2820fda32227
.
.
Activation troubleshooters:
.
.
Third party software:
https://www.tenforums.com/software-apps/2577-showkeyplus.html
https://www.belarc.com/products/belarc-advisor
https://www.magicaljellybean.com/keyfinder/
.
.
Clean install:
https://www.elevenforum.com/tutorials/?prefix_id=7
https://www.elevenforum.com/t/clean-install-windows-11.99/
.
.