Reboot your phone after the feds have it before you unlock it again
Once the feds have the phone, they aren't going to allow him to touch it, much less reboot it.
They have to reboot it to use a bootloader exploit. Reboot it again after you get it back to erase whatever they did.