I say something unique to myself (like the date or something I'm working on today) when I lock the door, so that I can think back to that moment later in the day and remember that I locked the door. Otherwise I start worrying about if I locked the door or not.