This funktion to share mouse and keyboard between a Samsung Phone and Windows Laptop is nothing new, it was already available in Samsung Sidesync way back in 2013. Samsung Sidesync had the functions to link the clipboard and audio output, as well as either share mouse and keyboard or show the whole smartphone-screen on the laptop. It later got discontinued and replaced by Samsung FLow (share clipboard and Screen) and Samsung Multi Control
Here is a 10 year old Video of this Feature:
www. youtube. com/watch?v=TljWUqAv1A0