Username or EmailPassword
There is a way to make the Dock pin to one corner or the other. If you move the dock to either side of the screen it will still pin. But to do this you need to edit a .plist file (XML File - Similar to Win32 Registry Edit). If you have the developer tools installed, you can just navigate to ~/Library/Preferences/com.apple.dock.plist and it will open with the Plist editor.
The easiest way to do this is to enter the following in OSX Terminal.app
defaults write com.apple.dock pinning -string start
defaults write com.apple.dock pinning -string end
Then ps -auxc | grep Dock
and kill (# of Dock pid to restart the Dock)
Turn off magnification as it will slide the dock off the screen when magnified. The Dock will still grow to the right or left or up or down if you put the Dock on the side of the screen.