How to factory reset my lenovo 15p laptop? Read description?

So basically, my laptop got flashed and its linux and windows are gone ( they were partitioned) and now i can't really do anything and can't boot anything up. Is there something i can do to reset it with the power switch or something?

Reset? See the BIOS setup. I don't see the need. Simply reinstall everything from scratch. Format first before you install.

You mention… My laptop got flashed… Flashed? Flashed doing what?

seems you may have hosed your laptop and you need to do a format / reinstall…

Lol this reads as from my memory lane… Best thing I did then was to install SUSE linux and dump the MS-W

Not being technical, IF you backed up elsewhere your critical data, do the same…