Your laptop should have a recovery partition. If you look through the instruction manual it will tell you how to restore back to factory default. The laptop when first used will usually ask you to create a set of recovery disks or a USB did you do this. Both of these option should automatically activate windows 10 when connected to the internet.
Have a read of CLICK HERE on activating Windows 10.