In my opinion, you wouldn't look at it as a literal need to see if the door is locked, meaning you're not doing it for the obtainment of factual knowledge. You're doing it because you have the compulsion to do it, which is separate from your knowledge. I imagine the feeling as being an enormous block. It sits there on top of you and troubles you, annnnnd you HAVE to check.