i5-1240P
GeForce RTX 2050
8GB RAM
FHD 1080p display
Okay, it's a laptop. This should be enough for a smooth game on medium settings.
Check the system for programs that use resources, and a virus scan is also a good idea. Update the drivers, especially for the chipset and video card.
If nothing helps, then create a thread on my Discord server and we can take a closer look at the problem.