That lock is set in the BIOS settings.  I can think of no way that it can happen "accidentally".  
The bad news is that if it is a ThinkPad with a security chip that password is designed to turn stolen laptops into scrap.
So you need to find whoever set the password and get it from him/her.
                
 T
                
 January 2011