STM32 has a flash enable read protection setting. I wonder if nRF52832 has similar settings to protect programs in flash, thank you.
nRF52832 has readback protection mechanism.
You can use nrfjprog utility's --rbp option to enable readback protection on your nordic device.
"Important: After an --rbp operation is performed, the available operations are reduced. For nRF51 devices, and if argument option ALL is used, --pinreset will not work on certain older devices. For nRF52 devices, only --pinreset or --recover operations are available after --rbp."
There are other ways as well to enable readback protection... this post will be helpful for you.
Thank you very much for your kind help!