Do you want to use your Samsung phone as a portable, dockable PC? Based on my testing of the DeX feature, probably not. But, if you beg to differ, the Plugable Phone Cube is probably the best way to do it.
Source: Plugable’s Phone Cube Is the Best Option for Samsung DeX (If You’re Into That)