I just found a solution by myself, I'll post it here if it can help someone. I try to plug my SSD in another sata port on the MOBO and it worked. Aparently, when the M.2 is connected, it also occupies 4 sata ports on the MOBO so I tried another sata port and everything works perfectly now.
I build my computer few months ago with only a SSD in it. Now this SSD is full so I bought a M.2 so I can have 2 drives. When I installed the M.2, my computer didn't boot so I went in the BIOS to change the Drives Priority to be sure that windows boot on the SSD and not on the M.2 but I couldn't find the SSD in the BIOS. Then I uninstalled the M.2 and reboot the computer and everything worked perfectly like before. I have no idea why, but when the M.2 is plugged in, the computer didn't see the SSD. I tried everything and really need your help on this one.