I initially tried Segger Embedded Studio for ARM and I clicked on connect to J link device, an error occured. I wasn't sure at that time. Then I used the nRF CONNECT for desktop. The device was getting detecting, so I tried to flash a sample program for blinking the peripheral LED. Again it was showing error. Then I tried using JLINK commander, but it was also not able to connect to the device. I tried to see the problem by giving the output to chatgpt. It is saying that the SoC is locked and I should unsecure it. I tried it but I can't unsecure it. I don't know where I am wrong.