This is copied directly from the USA Hockey rule book. There may be slight differences in this rule based on which rules govern your league.
Rule 625 | Interference
(a) A minor penalty shall be assessed to any player who interferes with or impedes the progress of an opponent who is not in possession of the puck (see Glossary). This includes the following actions which shall be penalized under this rule:
8. Any player who makes physical contact, using his stick or body, in a manner that interferes with the movement of the goalkeeper, unless otherwise specified in the rules.