Hi, so I rolled the dice and tried this remotely... and I succeeded. I had to issue slightly different commands, as the example in the link above produced an error. This post on Quectel's forum helped, though the router is from Microtik, but the modem is the same (EG12) https://forums.quectel.com/t/eg12-and-freq-or-cell-lock-feature/4619/5. EG12 can lock to multiple cells/EARFCNs, and the config key is "common/4g" instead of "common/lte".
So here's what worked (so that it can help others):
gsmctl -A 'AT+QNWLOCK="common/4g",1,<EARFCN>,<PCI>
if I was to lock multiple cells, I would use:
gsmctl -A 'AT+QNWLOCK="common/4g",2,<EARFCN1>,<PCI1>,<EARFCN2>,<PCI2>
Hope it helps someone in the future