Can a phone act as computer replacement?
You can accomplish this with Samsung Dex.

What you'll need:


A Compatible Samsung smartphone.  As of the time of this post, this includes the S8, S9, S10, Note8, and Note9.
Either the Dex Pad or Dex Station to dock your phone and connect it to an external display, mouse, and keyboard.