In Sierra, is there a setting to keep the dock from jumping to external displays?
System Prefs > Mission control > Displays have separate Spaces ...disable

Though that may impact the rest of your workflow.