LOC accessions represent uncharacterized genes so you are not going to find gene names or annotations for some or all of these. Best you can do with these ID's noted in this thread --> Gene starts with "LOC" prefix ?
$ more list
LOC139835425
LOC139830140
LOC127318761
LOC127318766
LOC127318756
LOC127318755
$ for i in `cat list`; do esearch -db gene -query ${i} | esummary | xtract -pattern DocumentSummary -element Id,Name,Description,NomenclatureSymbol; done
139835425 LOC139835425 uncharacterized LOC139835425
139830140 LOC139830140 uncharacterized LOC139830140
127318761 LOC127318761 protein MEI2-like 3
127318766 LOC127318766 uncharacterized LOC127318766
127318756 LOC127318756 uncharacterized LOC127318756
127318755 LOC127318755 protein NEN4
LOC id's in the original question are not human so this solution will not work in this case. They appear to be mostly for perennial ryegrass (Lolium perenne).
For some of the ID's included in the original question, the information in the file linked above.