OpenThread and MCUBoot don't play well together anymore of the nRF5340 with the release 1.8 of the nRF Connect SDK. Flashing :
west build -p always -b nrf5340dk_nrf5340_cpuapp nrf/samples/openthread/cli/ -- -DCONFIG_XOROSHIRO_RANDOM_GENERATOR=y -DCONFIG_BOOTLOADER_MCUBOOT=y
results in the bootloop with I assume is caused by a Flash overflow somewhere which goes through silently. nRF52840DK appears to be OK, same with the nRF5340DK on the previous release (1.7).
However, the matter (which includes OpenThread) reference lock design appears to behave fine after I enable the bootloader support
west build -b nrf5340dk_nrf5340_cpuapp nrf/samples/matter/lock/ -- -DBUILD_WITH_DFU=1