I have two VLANs, one for IoT and another for Wi-Fi. I do not want the IOT VLAN to reach out to any other VLAN; however, I want other VLANs (in this case, VLAN40) to talk to the router I am using as an access point.
I’m not understanding your setup very well. Your 3rd screenshot shows your IoT WiFi directly on interface 2 but doesn’t have a VLAN assigned to it. Typically you setup your VLAN’s on the same physical interface and let a switch with VLAN capabilities handle the VLANs.