Breaking the law in a dream is read as testing a boundary — a rule you feel bound by, or a wish you do not allow yourself. Dream books treat it as a picture of inner tension, never as a judgement of the dreamer. Fear of being caught is linked to guilt about something small, while feeling thrilled points to a craving for freedom. Being forced into a crime is read as pressure from others. Getting away with it is read as a wish to escape consequences. It can help to notice which rule in your life feels too tight.
Has this come up in your dreams before? What was going on in your life then?
My Cosmic Code has a private dream journal. Write a dream down and the app picks out the symbols in it, shows what dream books say about them and, over time, which words recur across your entries. The journal is stored on your device only.