New restrictions have come into effect in greater Sydney after a new case of locally-transmitted COVID-19 was detected in New South Wales.