Border restrictions were lifted at midnight after New South Wales recorded no locally-acquired cases for two days.