Adding getLockedGlyphs, issue #231.