error: use Nikon D5600 as webcam

I am trying to use my Nikon D5600 as a PC webcam, but when I connect the camera to the PC (Windows 10) with a Micro USB cable (to be clear, the same thing I usually use to transfer photos from the camera to the computer ) PC), and I try to open the Windows camera, this message appears:

We can't find your camera
(bla bla)
If you need it, here's the error code:

Does anyone know why it happens?