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.
Recovery mode allows you to update or restore your iPhone using a computer with iTunes or Finder. Here's how to access it.