yes this is locked device, without unlocking(=>erasing) you canot do anything over swd. if you have j-link you can also reflash stlink with the cmsis-dap, that one is also better than stlink and can unlock locked devices
maybe the stlink could not find it because it was locked, forgot how it behaves in such case, after unlocking you may retry with stlink, then it may work.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
yes this is locked device, without unlocking(=>erasing) you canot do anything over swd. if you have j-link you can also reflash stlink with the cmsis-dap, that one is also better than stlink and can unlock locked devices
maybe the stlink could not find it because it was locked, forgot how it behaves in such case, after unlocking you may retry with stlink, then it may work.