The main advantage of a desktop that you can't get from a laptop with a dock is that they can be a lot faster.
There isn't any laptop that gets anywhere close to a 64-core Threadripper on threaded workloads. There are some that are competitive with 8-core desktop processors, but then they cost ~twice as much.
But this only matters if you care about more than single thread performance.