I've written a short article about how to DIY treat hair lice using heat treatment, a cheap method that is compatible with long and tangled hair, without needing to buy any substances: https://wiki.slightly.tech/books/miscellaneous-notes/page/treating-hair-lice-in-difficult-hair