meiklmue Update: installing Chrome didn't work for me, but I was able to lock the bootloader programmatically, by following the instructions on this page
TLDR:
I entered adb reboot bootloader
Then I entered fastboot flashing lock
Then I toggled the volume keys to select the Lock bootloader option
Locking the bootloader triggered a factory reset, which I wasn't expecting, but which was okay.