The city of Tamworth in northern New South Wales is in lockdown, after an infected person visited from Newcastle.