Lysosomes are indeed membranous sacs that contains hydrolytic enzymes as rightly stated in this question i.e. enzymes that breakdown substances. They are cellular organelles that perform digestive functions due to the high content of digestive enzymes in them.
However, hydrolytic enzymes in the lysosomes do not function to produce hydrogen peroxide, H2O2, as a product. This function occurs in PEROXISOMES, another organelle with similar function to the lysosome but differs in the sense that it produces and decomposes hydrogen peroxide.