Hi edanuff,You don't say whether your Surface 4 has Intel or AMD but either of them can display 5K 5120x2880 @ 60 Hz on this monitor, assuming it's really the LG 27MD5KL-B model. You just need a USB-C cable. I think the cable that comes with this is a Thunderbolt cable that likely doesn't work so you'll probably need to find one on Amazon.
I have a thinkpad p14s amd gen 1. it has
Monitor Support Supports up to 4 independent displays (native display and 3 external monitors via HDMI® and USB-C®)
• HDMI supports up to 4096x2160@60Hz
• USB-C supports up to 5120x2880@60Hz, DP mode via USB-C to DP dongle
So I suppose it should work with 27MD5KL-B, at least on 4k@60Hz?
Thanks for the help.