This could be as simple as a ground to your prop shaft making noise. When the shaft turns it rubs, when it's locked it doesn't. I had a shaft brush grounding strap that pressed against my prop shaft in my old C34. Not sure if it was effective -- it was there when I purchased the boat.