Disable "DeX on PC" notification each time S10 connected to PC
If you would rather remove Dex from your phone instead of disabling it, and you have ADB and USB debugging setup, you can remove it with this command:

adb shell "pm uninstall -k --user 0 com.sec.android.app.dexonpc"