You can remember the meaning of 长官 with this easy mnemonic:
All the senior officials in our company have spent long length (长) of their careers being officials (官) in other departments.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.