Hi,
Case 1:
After you download the SDK package, pls try to load/run the example code without any change, the chip is in unsecurity mode.

then run a uart terminal, and check if the terminal can echo the input character.
Then you can power off and connect for example J-Link device and tools, and check if you can read code or data with J-link via SWD port
case2:
You can change the security to
__attribute__ ((used,section(".FlashConfig"))) const struct {
unsigned int word1;
unsigned int word2;
unsigned int word3;
unsigned int word4;
} Flash_Config = {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFDFFFF};
then run a uart terminal, and check if the terminal can echo the input character.
Then you can power off and connect for example J-Link device and tools, and check if you can read code or data with J-link via SWD port. In the case, because the SWD is blocked, the J-Link device can not be read.
Hope it can help you
BR
Xiangjun Rong