You don’t need to worry about whether it’s relockable, but it’s important that it can be unlocked in the first place. Just don’t get it from a carrier and you’ll be fine. Buy the phone from some store like Best Buy.
To answer your second question: It uses USB-C.
Mostly fish, because it just feels much more modern than bash, it has good built-in autocomplete and I don’t have to install millions of plugins like of zsh.
#!/usr/bin/env bash
Occasionally I also write fish scripts. Just replace sh with fish.zoxide
As @crispy_kilt@feddit.de already suggested, use shellcheck.
I don’t think so