Software options are:
Synergy (software KVM) (free version is limited, https://github.com/debauchee/barrier is the open source variant)
NoMachine (remote control software, server/client) nomachine.com (free for personal use)
RDP (Windows Remote Desktop)from work PC to personal PC or the other way around
bit more DIY: Sunshine/Moonlight-QT to stream your personal desktop to your work laptop: https://github.com/LizardByte/Sunshine https://github.com/moonlight-stream/moonlight-qt
That or get another set of peripherals?
Edit:
Does your monitor have a USB hub?
Could use that and then swap the USB Hub cable between PCs, connect your Personal PC via Display Port and your home PC via HDMI, then switch using the monitor’s menu button?
Now for the Final Challenge, write an eli5 tutorial on how to host and maintain a mail server!