This is neither here nor there as far as security
Just completely, a how much can someone flash over a device, pull dumps despite all security locks
Either way data the data gets wiped (bootload unlock, GrapheneOS install, factory reset, fastboot -w stuff)