When I get rid of my music folder from the desktop
I clicked on option 2, and and then put the music folder in the trash.
are you talking about a shortcut to the folder or the folder itself?
sounds like you are deleting the folder to which you want ODock to point a shortcut to which it can't if you delete it.
if what's you keep deleting from your desktop is a shortcut to the folder, then Z's 1st reply will work
you can find the folder and drag it to the dock
you can open the folder and copy the address and paste that into dock entry properties
you can make to dock shortcut point to a specific file in the folder then edit the link line in ODock properties to remove the specific and leave the general folder