Passwords don't magically appear. They have to be entered, re-entered to be confirmed, and then the settings saved to the bios before it actually takes effect.
Laptops save the password to an EEPROM chip, so taking the battery out doesn't do anything.
It's against Tom's rules to help people get past passwords, so you're out of luck here..
If you bought the laptop stolen or stole it yourself, turn it in to the police, they can contact the owner and get the password for you, because there is no way a spontaneous password is going to appear.
im still researching the sony and fyi bios passwords can magically appear if theres problems in some of the hardware i found that right on the sony support site