Yes. Be sure to rinse your hair out when you can. Otherwise you will have a layer of salt on your scalp.
Just being on the beach is good for your dreadlocks.
Remember....dreadlocks are the ultimate end to wind blown hair.
The wind will do most of the work for you. The only thing the wind won't do is pull sections of hair away from each other and wash your hair regularly.