Unlocking Samsung Galaxy S7 with broken screen plugged into computer
A bit late to the party but you can unlock your phone with find my phone
That wasn't enough in my case.

Most recovery tools require you to have usb debugging enabled before you break your phone.