You can use Windows 10 indefinitely without using a key. You’ll lose out on a few settings, mainly to do with personalisation, and you’ll have a watermark on your screen - but if it’s just for one game, then perhaps that’s something you can live with.
…there are also Certain Methods to permanently activate Windows without a key at all if necessary.