If Buddhist poems can lock wood to make a fire, mud will produce red lotus. What do you mean?

The basic meaning is: if wood can produce fire after cruel tempering, red-violet will be born in the mud.

This is actually comparing the world to locking wood and mud. Because in Buddhism, the world is a sea of suffering, and people have to cross the sea of suffering to reach the western paradise.

So this sentence is to encourage people to endure the pain in the world and finally reach a better shore.