My work from home setup for the last few years has been connecting my work laptop to my local network, and then connecting to it using RDP from my desktop. This way I have one keyboard/mouse and share ...
You can enable remote desktop access on a Mac to allow yourself and others to access your computer from a different location.
Remote Desktop Protocol (RDP) refuses to accept Microsoft Account (MSA) credentials, even when correct details are provided.