Police given power to “lockdown” parts of Sydney