Activation Lock is a feature that's designed to prevent theft by requiring you to enter an Apple ID password before using an iPhone or iPad.
Your Windows 10 product key serves as proof that you actually own Windows 10, and might need to be entered when you reinstall or upgrade Windows.