You can remember the meaning of 作案 with this easy mnemonic:
If you commit a crime, you will make (作) a permanent record (案) on your life.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.