In many cases, a valid Windows 7 key can still be used to activate Windows 10, which is a much more secure environment.
If you do not have a genuine Windows 7 key, consider running Windows 10 in unactivated mode. Microsoft allows indefinite use with only a watermark and limited personalization.