It isn't like it won't work, but the 1050Ti isn't a very powerful card. So for older games you could probably get away with 2560x1440, but for newer games you will have to run lower settings or settle on a lower resolution with higher settings.
Minimum you want for 60 FPS gaming at 2K is a GTX1070 or Vega 56. I make a strong recommendation for a GTX1070Ti though since it isn't much more expensive and gains you a significant amount of GPU performance.
That said, many off the shelf computers don't have an adequate power supply, and sometimes space, for larger GPUs.