The only time I saw this check was when I failed to enter the lock screen password multiple times. If you fail it 10 times in a row, many phones will do a factory reset as a security measure. To help prevent accidental resets (from phone glitches, kids getting ahold of it and mashing buttons, etc), many manufacturers now have additional checks.
In LG's case, I think this Life is good check pops up at 5 missed lock screen attempts. It will not progress until you type that phrase in to prove you're a competent human and not a toddler, glitch, or pocket pressing.
Do you think this is what you are encountering?