Locarnini is Swiss, typical of the Canton Ticino, Contone and Monte Carasso near Locarno, the surname indicates the origin of the founders from the city of Locarno.
Bibliographic source' "L'origine dei cognomi Italianim storia ed etimologia" di E. Rossoni disponibile online su: https://archive.org/