Hello,
A Windows product key will not allow you to upgrade your Android version to a version higher than what your hardware support. Once it's out of support, it's out of support unless you get a new device or install third-party operating systems.
I hope this information helps.