Fast numerical method to generate halo catalogues in modified gravity (part I): second-order Lagrangian perturbation theory. Issue 1 (3rd February 2020)