To see an armed guard in your dream represents rational thinking. You are being cautious and practical. The dream may also be on pun that you need to be “on guard” or alert about a situation.
To see a prison guard in your dream suggests that your belief and/or your way of thinking is restricting your own growth. Your fear of making mistakes is preventing you from experiencing life.