Microsoft provides generic keys for installation and trial purposes. These can be entered via Settings > Update & Security > Activation .
Before resorting to third-party tools, consider these official methods provided by Microsoft: activator windows 10 nesabamedia
A persistent "Activate Windows" message appears in the bottom right corner. Microsoft provides generic keys for installation and trial