Or get a burglar alarm fitted - you set it, it starts beeping, you go out of the door and have plenty of time to lock the door, forget whether you've just locked it, and try the handle just to be sure, while you wait for the beeps to stop, signifying that the alarm is correctly set. And then you also have a burglar alarm :-)
Unless of course you're living in a rented property...
Unless of course you're living in a rented property...