Thanks for posting. System or firmware security passwords are not supported for bypass or removal.
These protections prevent unauthorized access and protect personal data. The supported options are to ask the prior owner to remove the password or contact Lenovo support with proof of ownership for official help.