To dream that you are peeping through a keyhole suggests that you do not have full view of some situation. You need to gain a better perspective on things. Alternatively, it indicates that you are overstepping your boundaries and prying into other people’s business.
To dream that someone is looking through a keyhole suggests that your privacy is being invaded. Alternatively, the dream means that you are shutting others out.