Very strange problem during beginning with MKR Wifi 1010

You're welcome. I agree that it is very useful to understand the upload process, and also useful to know about the double reset technique that allows us to easily recover our boards and thus feel more free to experiment with less fear that a mistake will cost us the loss of precious hardware.

Were you sure to select the port of the board from the Arduino IDE? Keep in mind that the port usually changes after you put the board in bootloader mode, and that it may change again after that upload is finished.