If you buy a Samsung Galaxy S9, you will buy a desktop PC. Because if you use an adapter to connect your S9 to a monitor, you will get a full desktop environment on the monitor that you connected your phone to. Your phone will be the keyboard and trackpad, but you can also connect a bluetooth mouse and keyboard. This is how the desktop looks like:
