>>277
fastboot用のUSBドライバをいれることが必要でした。
https://jagadgetaholic.blogspot.com/2015/12/fastboot-command.html?m=1

ドライバ
https://developer.android.com/studio/run/win-usb?hl=ja

後はあちこちに書かれている方法でロックできました。