If you've lost your Mac password, there's no need to panic. There are plenty of ways you can regain access to your computer.
So, you have a new (or rather, used) MacBook and you need to factory reset it. Perhaps the person ... from a MacBook and keep others without an admin password. Once you conduct this process ...