As the others have hinted, it seems your Lock relay is involved, since the Lock relay being Off is what puts it into that state (all lights out less coin door).
I don't have the schematic (I'll have to check on my computer, maybe I have a scan) ... but things I see that deactivate the Lock relay are turning the power off (then power on to return to that state), the coin door slam switch, and the drop/kick switch (weighted switch mounted parallel in the floor of the cabinet, located next to the Top Hole relay).
I also noticed the drop/kick switch and the outhole switch (closed when your ball is in the trough) appear to share the same yellow ground wire. Might not be anything, just something else common to these components.
When you encounter the glitch, does that Delay lamp come on? If so, this could indicate the slam switch or drop switch may be involved. If not, we might be able to rule them out.