Last yearJürgen Pansy described the best way to setup a separate network for IOT devices, that will work best with Smart Lock 3.0 Pro
The UI of Unifi has changed since then, so here is an updated overview of the settings, similar to what Jürgen shared. One note: Do not choose Guest Network, that does not work,