Oops, sorry to hear about this.
But you don't need to worry about it. Simply [https://www.s7fanclub.com/how-to-hard-reset-samsung-galaxy-s7-galaxy-s7-edge.html|Hard Reset your Samsung Galaxy S7] (this applies to all samsung phones) and it will enable Factory Reset Protection if you had signed in to Google Account on your device.
If you remember your email and password that you had used for Google Account, please enter that on your phone to remove FRP Lock.
In case you have also forgotten email and password, you will need to [https://www.s7fanclub.com/bypass-frp-lock-adb-bluetooth-method-samsung-phones.html|bypass FRP lock on Galaxy S7 phone]. (this also works on all Samsung Phones)