I have a feeling if you have the install discs that came with the computer you can reformat the imac from the discs, although I'm not certain. Otherwise find out the Admin password.
And if the password is Firmware Protection Password, send it back. You wikll know if that is what it is as you will not be able to boot up from the original or system dics.
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.