To bandlock to the B1 and B3 combination (excluding all other bands), the AT command is:
AT+QCFG="band",0,5
To revert to all-bands mode:
AT+QCFG="band",0,7FFFFFFFFFFFFFFF