Green’s Dictionary of Slang

locs n.2

also locos, lokes
[loc adj.; i.e. the image of the sunglass-wearer as tough, dangerous and ready for any action – no matter how ‘crazy’]

(orig. US black) sunglasses.

[US]K. Scott Monster (1994) 43: I’d [...] put on my murder-ones (dark shades, also called Locs or Locos).
[US]Da Bomb 🌐 18: lokes: Dark, shade glasses.
[US]Ebonics Primer at www.dolemite.com 🌐 locs Definition: sunglasses.
[US]C.D. Rosales Word Is Bone [ebook] The Loc sunglasses were too dark to see into.

In phrases

go loc (v.)

to prepare onself for a drive-by shooting by putting on dark glasses and any other form of disguise.

[US]Hip-Hop Connection Jan.–Feb. 54: Going ‘loc’ also means to prepare for a drive-by, putting on dark glasses and similar means of disguise in order to go and kill somebody.