A third moral lesson could be related to the power of peer influence or misinformation. Maybe the girl was influenced by others to pray for Lucifer or she was misinformed about him. This could show us that we need to be careful about the people we listen to and the information we receive. If we are not cautious, we might end up doing things that are against our own well - being and moral values, just like the girl in the story.
Another moral might be about the importance of having a proper understanding of good and evil. The girl in the story might not fully understand who Lucifer is and what praying to him means. This could teach us that we need to be educated about different concepts so that we don't make mistakes like she did. It could also imply that blindly following something without understanding its true nature is a bad idea.
One possible moral lesson could be the danger of being attracted to the wrong things. Lucifer is often associated with evil in many religious and cultural contexts. So, the girl praying for him shows that she is being drawn to something that is not good, and this can lead to negative consequences for her.