The Queensland premier has announced a snap lockdown for greater Brisbane to prevent the spread of coronavirus.