The lysosome's job is to defend the cell from hostile viruses, bacteria and other materials by engulfing the invaders and dissolving them with its enzymes.
How they work on some cells at some times seems clear: the cortisone group of hormones strengthens the lysosome membrane, making it less likely to spill out its enzymes.