Hello guys.
I want to know the effects of cold booting a mac book. If it has very negative effects what is the best way to restart it has been locked by user who is nolonger there.
...But seriously, I haven't seen anyone worrying about cold booting since what, 1985?
If you mean that your computer suddenly powered off, Macs are extremely good at booting back up without any of this Windows "Safe Boot" nonsense...
EDIT: Rereading your post, it seems like your question is more on how to reset the system without having a user login. I'd honestly recommend contacting Apple, but there are a few ways to do it if you know CLI mojo - in which case, please Google it. Without knowing how you came into possession of it, you could possibly even be a thief (not accusing you, just throwing it out there).
Apple will both be able to confirm that you are the real owner, and then help you to restore your system.