[Moto G5 Questions & Answers] braganetx:
Yes, locked bootloader

$ fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.002s
$
$ fastboot oem fb_mode_set
...
OKAY [ 0.003s]
finished. total time: 0.003s
$
$ fastboot flash partition gpt.bin
target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.019s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.085s]
finished. total time: 0.104s
$
$ fastboot flash bootloader bootloader.img
target reported max download size of 535822336 bytes
sending 'bootloader' (5179 KB)...
OKAY [ 0.192s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.553s]
finished. total time: 0.745s
$
$ fastboot flash modem NON-HLOS.bin
target reported max download size of 535822336 bytes
sending 'modem' (66358 KB)...
OKAY [ 2.296s]
writing 'modem'...
OKAY [ 1.046s]
finished. total time: 3.343s
$
$ fastboot flash fsg fsg.mbn
target reported max download size of 535822336 bytes
sending 'fsg' (2956 KB)...
OKAY [ 0.115s]
writing 'fsg'...
OKAY [ 0.103s]
finished. total time: 0.218s
$
$ fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.031s]
finished. total time: 0.031s
$
$ fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.031s]
finished. total time: 0.031s
$
$ fastboot flash bluetooth BTFM.bin
error: cannot load 'BTFM.bin': No such file or directory
$
$ fastboot flash dsp dspso.bin
error: cannot load 'dspso.bin': No such file or directory
$
$ fastboot flash logo logo.bin
target reported max download size of 535822336 bytes
sending 'logo' (2242 KB)...
OKAY [ 0.090s]
writing 'logo'...
OKAY [ 0.096s]
finished. total time: 0.187s
$
$ fastboot flash boot boot.img
target reported max download size of 535822336 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.605s]
writing 'boot'...
OKAY [ 0.439s]
finished. total time: 1.044s
$
$ fastboot flash recovery recovery.img
target reported max download size of 535822336 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.580s]
writing 'recovery'...
OKAY [ 0.445s]
finished. total time: 1.026s
$
$ fastboot flash system system.img_sparsechunk.0
target reported max download size of 535822336 bytes
sending 'system' (258344 KB)...
OKAY [ 8.888s]
writing 'system'...
OKAY [ 5.917s]
finished. total time: 14.805s
$
$ fastboot flash system system.img_sparsechunk.1
target reported max download size of 535822336 bytes
sending 'system' (256570 KB)...
OKAY [ 9.039s]
writing 'system'...
OKAY [ 5.509s]
finished. total time: 14.548s
$
$ fastboot flash system system.img_sparsechunk.2
target reported max download size of 535822336 bytes
sending 'system' (246510 KB)...
OKAY [ 9.312s]
writing 'system'...
OKAY [ 6.536s]
finished. total time: 15.847s
$
$ fastboot flash system system.img_sparsechunk.3
target reported max download size of 535822336 bytes
sending 'system' (262141 KB)...
OKAY [ 8.987s]
writing 'system'...
OKAY [ 7.513s]
finished. total time: 16.500s
$
$ fastboot flash system system.img_sparsechunk.4
target reported max download size of 535822336 bytes
sending 'system' (261322 KB)...
OKAY [ 8.816s]
writing 'system'...
OKAY [ 11.196s]
finished. total time: 20.012s
$
$ fastboot flash system system.img_sparsechunk.5
target reported max download size of 535822336 bytes
sending 'system' (262141 KB)...
OKAY [ 9.297s]
writing 'system'...
OKAY [ 5.525s]
finished. total time: 14.823s
$
$ fastboot flash system system.img_sparsechunk.6
target reported max download size of 535822336 bytes
sending 'system' (262143 KB)...
OKAY [ 9.387s]
writing 'system'...
OKAY [ 6.682s]
finished. total time: 16.069s
$
$ fastboot flash system system.img_sparsechunk.7
target reported max download size of 535822336 bytes
sending 'system' (256817 KB)...
OKAY [ 9.803s]
writing 'system'...
OKAY [ 6.820s]
finished. total time: 16.622s
$
$ fastboot flash system system.img_sparsechunk.8
target reported max download size of 535822336 bytes
sending 'system' (237909 KB)...
OKAY [ 8.308s]
writing 'system'...
OKAY [ 7.428s]
finished. total time: 15.736s
$
$ fastboot flash system system.img_sparsechunk.9
error: cannot load 'system.img_sparsechunk.9': No such file or directory
$
$ fastboot flash system system.img_sparsechunk.10error: cannot load 'system.img_sparsechunk.10': No such file or directory
$
$ fastboot flash system system.img_sparsechunk.11error: cannot load 'system.img_sparsechunk.11': No such file or directory
$
$ fastboot flash system system.img_sparsechunk.12error: cannot load 'system.img_sparsechunk.12': No such file or directory
$
$ fastboot flash system_b system_other.img
error: cannot load 'system_other.img': No such file or directory
$
$ fastboot flash oem oem.img
target reported max download size of 535822336 bytes
sending 'oem' (148900 KB)...
OKAY [ 5.175s]
writing 'oem'...
OKAY [ 7.627s]
finished. total time: 12.803s
$
$ fastboot flash oem_b oem_other.img
error: cannot load 'oem_other.img': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.0
error: cannot load 'vendor.img_sparsechunk.0': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.1
error: cannot load 'vendor.img_sparsechunk.1': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.3
error: cannot load 'vendor.img_sparsechunk.3': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.4
error: cannot load 'vendor.img_sparsechunk.4': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.5
error: cannot load 'vendor.img_sparsechunk.5': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.6
error: cannot load 'vendor.img_sparsechunk.6': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.7
error: cannot load 'vendor.img_sparsechunk.7': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.8
error: cannot load 'vendor.img_sparsechunk.8': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.9
error: cannot load 'vendor.img_sparsechunk.9': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.10error: cannot load 'vendor.img_sparsechunk.10': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.11error: cannot load 'vendor.img_sparsechunk.11': No such file or directory
$
$ fastboot flash vendor vendor.img_sparsechunk.12error: cannot load 'vendor.img_sparsechunk.12': No such file or directory
$
$ fastboot erase carrier
erasing 'carrier'...
OKAY [ 0.078s]
finished. total time: 0.078s
$
$ fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.124s]
finished. total time: 0.124s
$
$ fastboot erase DDR
erasing 'DDR'...
OKAY [ 0.002s]
finished. total time: 0.002s
$
$ fastboot oem fb_mode_clear
...
OKAY [ 0.003s]
finished. total time: 0.003s
$
$ fastboot reboot
rebooting...

finished. total time: 0.152s