Deciding on a beginners game development laptop.

I heard good feedback on lenovo customer support in terms of repairing laptop and ye like jwatte pointed out MSI sure has better reputation.
Having higher refresh rate wont really help unless you wanna play competitive games.
Go for higher resolution and if it OLED that more reason to get the true colour during dev.

Not sure what kind of game learning you plan to do, but i recommend going for what ue4 actually recommend(like content example) or start from scratch.
From my own experience, these free content on epic store are for the most part not optimise, they can indeed put heavy stress on gpu/cpu and require lot ram.

Let say you made a project using a 1660 gpu with 60fps and 1080p, you are sure that it will run on the avg pc such as sharing your project to your friend.

Now if you want to keep it alive for 5yrs, first thing you should consider is the battery>screen>ssd.
Battery: charge btw 30-80%
New modern laptop has the option in bios to disconnect battery when in plug power, else removing the battery manually is sure annoying each time you wanna do some heavy load/gaming.

Screen: avoid let default max brightness

SSD: well just avoid doing useless copy paste, it easy to replace anyway.