Depends on the dock. Some of my older USB2 docks have a 2 TB limit, while by nearly-brand-new USB3 dock complains at anything over 3 TB.
Because most onboard SATA ports allow hot swap, you can get a passive internal dock like this that will just pass the electrical signal through without messing with it.
Because most onboard SATA ports allow hot swap, you can get a passive internal dock like this that will just pass the electrical signal through without messing with it.