It can be difficult to put a laptop into DFU mode (actually any Apple device for that matter) and know it is in DFU mode as opposed to being powered off or in some other uncertain state as there are no external clues to indicate success except for whether the host Mac shows the laptop in DFU mode in Apple Configurator 2 (the first time you may even over look that Apple Configurator is showing the Mac is in DFU Mode. I don't like anything about any of this procedure (hardware or software wise).
Make sure you check for updates to Apple Configurator 2 after installing this app. Also make sure the host Mac running Apple Configurator 2 is fully patched. Reboot the host Mac after installing Apple Configurator 2 and all the update patches. Launch Apple Configurator 2 before you attempt to put the other Mac in DFU Mode so you can see what the current Apple Configurator 2 window looks like. Once a Mac in DFU Mode is connected, the Apple Configurator 2 window should show "DFU" as shown in the picture shown in section titled "Step 3: Revive the Firmware" and item #1.
Make sure you are using the Apple USB-C charging cable to connect the two Macs and make sure the USB-C cable is connected to the proper port on the laptop being put into DFU Mode. For the M1/M2 Apple Silicon Macs this appears to be the back left USB-C port of the laptop which you are putting into DFU Mode. Using the wrong cable or the wrong USB-C port will result in failure to register DFU mode on the host Mac. If the USB-C cable has a lightning bolt icon on the connector, then you are using the wrong USB-C cable. If you are connecting the M2 laptop to an older Mac with just standard USB-A ports, then you need to use a USB-C to USB-A Cable.
Make sure to follow the directions in the article you linked exactly. You do need to press certain keys on the left side of the keyboard and other keys must be pressed on the right side of the keyboard. This will only work with the built-in keyboard. Timing can be critical as well. Sometimes it takes me several times to get these laptops into DFU Mode (or at least to have the host Mac recognize a Mac is in DFU Mode).
Unfortunately there is no troubleshooting or logs to look at to help diagnose why it isn't working. It can be very frustrating.
If you cannot get the laptop into DFU Mode, it may indicate there is a hardware problem with the laptop. Regardless, it will be time for you to take the laptop to Apple or an Apple Authorized Service Provider for assistance and perhaps even a repair.
Good luck.