Answer :
The raven represents his sorrow for his wife who passed away. It's on his door it won't fly away aka his sorrow no matter how hard he tries it will always be there bugging him "knocking at his door" well that's my guess anyways I'm only a middle schooler so maybe I'm wrong.
Hope I helped!
Hope I helped!