Naval mines can be used offensively , to hamper enemy ships or lock them into a harbour ; or defensively , to protect friendly ships and create `` safe '' zones .

They can also be used defensively , to protect friendly ships and create `` safe '' zones .
