You can remember the meaning of 保安 with this easy mnemonic:
We are protected (保) by public security at all times, so I feel happy and content (安) at home.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.