When your mouse reaches the bottom of the screen then try to drag it a little bit lower, macOS automatically moves the Dock to that display. I trigger this unintentionally a few times a day, so I want to turn it off to keep the Dock on my main display. Is there a way for that?
I am not open for attaching the Dock to the side of the screen.