Barbers and hairdressers have been allowed to remain open, despite coronavirus restrictions.