What is the Locrian mode?
Locrian is Phrygian with its 5th lowered. Without a perfect 5th, its home chord is diminished, so it never settles. Jazz players use it over half-diminished chords, and metal bands use it for riffs that refuse to resolve.
G Locrian uses the same notes as A♭ major, played with G as home.
G Locrian vs G Phrygian
They differ by one note, the 5th: play both and listen for it.
How to hear it
Play G and then D♭, the ♭5. That tritone is why Locrian sounds like it is about to fall over.
Chords in G Locrian
These are the seven triads in G Locrian. The home chord, G°, is diminished.
Questions
What chords does G Locrian work over?
Gm7♭5 (half-diminished), especially as the ii chord in a minor ii–V.
Is Locrian ever used as a key?
Rarely as a whole song, but often for a bar at a time over a half-diminished chord.
Which position should I learn first?
Start with the position that begins on the root: G at fret 3 on the low E string. Then learn the positions either side of it, and join them up one at a time.