BIOS Installed Password (Now Drive is Locked

I took a 225GB Sandisk SD9SN8W256G1014 out of my Acer Laptop and replaced it with a 500GB SSD M.2 Drive. Now I had set a password on the SSD Drive in my BIOS of the Laptop and when I put it back into the Laptop after trying to unlock it on a USB-M.2 Enclosure it says its Locked. ANy suggestions or should I simply toss the Drive? I’m going to use it to go back into my Laptop since I’m giving it to my niece to play games on since its a 125.6" Screen and I’ve got a 2TB External drive for storage. I’m open to all suggestions and can be reached via email or by texting my phone 972-626-0768