hideDock Presentation option and multi monitor Macs

Hello:

I'm having an issue with the .hideDock and multi monitor Macs. Basically, the dock is still accessible by dragging the mouse to the bottom of the secondary monitor.

I do

        NSApp.presentationOptions = self.lockDownPresentationOptions, where lockDownPresentationOptions is:

    var lockDownPresentationOptions: NSApplication.PresentationOptions = [         .hideDock,         .hideMenuBar, ... and a bunch others]

I thought it was related to the Full Screen attribute in the window inspector, I tried all of them with .hideDock and was always able to display the dock.

Can someone point me to a URL that will show men how to fix this error, so that the dock will not show up on a Mac with any number of monitors?

Thanks in advance for your time

John