Windows 10 does not expire if you upgraded from a valid Windows 7 or Windows 8 license.
Office 365 subscriptions (which include Word, Excel, Outlook etc) do expire and must be maintained.
If Windows 7 is reporting that will expire soon, try re-entering your Windows 7 product key.
Click Start > Settings > Update & security
> Activation > Change the product key then enter the new product key then click
Next to Activate
If you are unable to activate Windows 10 after all the above and you are certain you have the correct edition installed, then please attempt phone activation:
Activate Your Windows 10 License via Microsoft Chat Support
Windows 7 came preinstalled on my computer, how do I find the product key?
The product key is usually located on the COA sticker attached to the bottom of your laptop or in the battery compartment. In some rare cases it can also be found in the memory compartment. For tower systems, look at the top or the side of the system unit. It
looks like the following:
