Martin County sheriff says beach restrictions meant to keep local residents safe