I use a PC as well and that’s connected to the HDMI input and you can switch between from the monitor controls.
Lenovo sell one that does provide power.
I use a PC as well and that’s connected to the HDMI input and you can switch between from the monitor controls.