If you’re able to boot into your OS, e.g BIOS isn’t set while booting, then there are several ways to do that. I’ve fixed this problem by editing firmware and that’s all I’ve done so far. It’s really very useful. Below are the stepsone should follow:
Download the BIOS firmware and use 7 zip to extract the contents.
If you’re not able to extract the firmware completely, simply open the .exe by double clicking on it and then do nothing.
Press Win+R and type %temp% and then TEMP files folder will appear, look for the folder where you think files of your firmware are available.
Copy all the content and look for .ini file, mainly config.ini
Open it and look for Password=1, replace it with Password=0 and save the file.
There should be an .exe file, open it and flash the firmware. That’s all you need to do.
I’ve also found another article in ifixit to [post|350574].