XIAO SAMD21 Windows Unknow Device

I think these two links will be helpful.
How to unbrick a dead XIAO using a XIAO(DAPLink) and OpenOCD
How to unbrick a dead XIAO using ST-LINK and OpenOCD