I see Windows 8.1 DG Windows 7 Pro 64 which implies it came with Windows 8.1 embedded Product Key (the first Windows that uses those). You should be able to revert to Windows 8.1, but it says nothing about Windows 10 so I don't know where you saw that as I've never heard of it.
There is a Lenovo information page here with more information on Downgrade rights:
https://support.lenovo.com/us/en/solutions/ht07...
I would first contact Lenovo Support to confirm how they want their Downgrade rights reversed to the old OS. Each manufacturer has it's own way of doing this. Microsoft Support would probably refer you to them, although you can try asking them via the link I gave to chat or phone Support. It's possible that either one of them might give you a Windows 10 key, so it doesn't hurt to ask once you find out what you're entitled to already.