Sorry to jump in late on this conversation.
Recently joined this topic and struggled 2 evenings with this same "issue"; the ST-Link could NOT unlock the nRF52840.
Simply not possible, BUT!!! I did manage to succeed without buying a j-link (clone).
Solution I found was to 'reconfiger' a BluePill...