I’m currently running a Mac for my daily use and a Lenovo laptop for my work use. Is there an easy way to switch between the two?

Wondering if there’s a device that allows me to click a button or so to map between one computer and the other rather than changing everything one by one.

Thanks in advance