Did the laptop come with Windows 11? If so, you should be able now to clean install Windows 11 and it should activate automatically. There are a few ways to do it. Here is one: How to Download a Windows 11 ISO File and Do a Clean Install | Tom's Hardware (tomshardware.com) After that, you can install Dell SupportAssist and Dell Update, and use them to install latest Dell drivers.
I was looking for ways to bypass bitlocker as my code was not working and I came across many sources that told me to clean my drive in command prompt so I did this and now my computer doesn't recognise the drive and I am eternally locked in bios. Is there any way I can fix this?
Bitlocker encrypted my m2 and I was locked in my bios and I accidentally 
cleaned the drive