Can not activate MQTT on Nuki 4

Seems you did not enable NAT64 within the “Open Thread Border Router” Home Assistant addon settings.

Also see Smart Lock (4th Generation) - Set up Home Assistant for Remote Access via Thread