Might be a good idea to ask the person who was so kind to give it to you for free Remchisel.
But i suspect what your talking about here is the bios lock, and boot password.
Now at a guess the laptop must be quiet hot to touch, even if it`s turned off. Hint.
When you have to ask a question like the one you have, 99.9% of the time, its Hot.
You see it is put there to put it bluntly if by chance it gets stolen by some light fingered slime ball, who then asks how to unlock it.
The answer is by asking the person who it was likely stolen from.
Hello,i got a free acer aspire 5517 and i dont know the password im locked out what can i do?
if you havee another commputer with linux than start hacking