Here are some suggested books and films about this topic. Not all of them are easy to obtain, but we've tried to link places to find them.
This is lucid dreaming―the ability to know you are dreaming while you are in a dream, and then consciously explore and change the elements of the dream. A Field Guide to Lucid Dreaming, with its evocative retro illustrations, shows exactly how to do it.
Lucid Dreaming—conscious awareness during the dream state—is an exhilarating experience. Because the world you are experiencing is one of your own creation, you can do the impossible and consciously influence the outcome of your dreams.