remove Mouse Over events to hide/unhide dock

There's a hidden preference for the delay before the animation starts:

defaults write com.apple.dock autohide-delay -float 9999999
osascript -e 'quit app "Dock"'

It doesn't affect full screen windows though.

This would increase the delay to about a second:

defaults write com.apple.dock autohide-delay -float 0.5