Some of these wire wiper of a pot to IN. The pot has ground and 5V on each side. This allow you to set the current limit.
They then use the pwm on the H input of the lps, to turn the laser on and off…
Follow?
I’m not wild about this configuration, but lots of people use it.
The wiring I gave you should not allow it to lase. At 0V on the IN terminal, it should not lase, I’d think you have something crossed up.