You might remember the meaning of the character 牢 with this easy mnemonic:
There was a firm roof (宀) over the cow (牛) shed, but now it's gone.
Using mnemonics to remember the meaning of Chinese characters like has a huge impact on how long to learn Mandarin it takes.