What you need.
Install DeskJoin Remote on both Macs and connect them with a compatible Thunderbolt cable. The iMac controls the MacBook, while your apps and files remain on the MacBook.
DeskJoin Remote · iMac and MacBook
Connect both Macs with Thunderbolt, enable Virtual Display, and work from the iMac's screen, keyboard, and mouse.
Install DeskJoin Remote on both Macs and connect them with a compatible Thunderbolt cable. The iMac controls the MacBook, while your apps and files remain on the MacBook.
Step by step
Install DeskJoin Remote on the iMac and MacBook. The iMac will be the Controller you sit in front of, and the MacBook will be the controlled computer where your apps and files run.
Use a compatible Thunderbolt cable for a fast wired connection. Confirm that the MacBook shows that it is receiving power; otherwise, connect its power adapter before closing the lid.
Grant Screen Recording and Accessibility access, then turn on Allow other devices to connect to this Mac. Before connecting, enable Virtual Display (Host); DeskJoin Remote will create the desktop from the iMac's reported pixel dimensions.
Select the MacBook from the iMac and confirm the six-digit pairing code the first time. When the desktop fills the iMac correctly and the MacBook is powered, close the lid.
Questions
Yes. DeskJoin Remote can show and control the MacBook from the iMac. With Virtual Display enabled on the MacBook, the remote desktop is created for the iMac's reported display dimensions instead of simply capturing the MacBook's built-in screen.
Virtual Display (Host) creates a temporary desktop on the MacBook that matches the iMac more closely. Enable it before starting the connection.
Yes, after the session is working and the MacBook is receiving power. DeskJoin Remote does not provide remote wake, so reopen the MacBook if it sleeps or becomes unavailable.
No. The iMac is not receiving a raw video signal as a hardware monitor. DeskJoin Remote sends the MacBook desktop and input over the local Thunderbolt network connection, so both Macs must be running DeskJoin Remote.