Personally, I would not even consider running Windows 10 with less than 8 GB of RAM. Nor would I consider a Celeron processor, for anything, these days.
I'd invest a bit more for additional memory and a better processor. You might also consider a refurbished business-class laptop, which can be had at very reasonable prices (or at least could prior to the pandemic - everything's getting more expensive as supply is constrained).
Brian - Windows 10 Pro, 64-Bit, Version 20H2, Build 19042
Always remember others may hate you but those who hate you don't win unless you hate them. And then you destroy yourself.
~ Richard M. Nixon