Read my posting again: service mode is NOT!!! supported on lineageos 15.1.
To get service mode you need a rom wich supports service mode:
actually I want to know what benefits will I get with a ROM having service mode for which I will not have in Lineage 15.1.
I saw the link leaved by you NLOS has this feature.