There are SO many threads about this...you might want to try doing a quick search on the site for keywords like "dying in a lucid" "dying in a dream"

Here's a thread I started about Committing LD Suicide