I do the same but I usually say it to my wife or kids, so if it didn't work then they can remind me 😉🤣
And if they are not around I just say "Hey Google remind me in X minutes/hours about blabla", it's actually a very good habit, and I have about 6 Tiles (like airtags) on all my important stuff that I can ring if I forget where I put it. They can also be used to locate my phone, I just need to find 1 device and press it to ring my phone and then find all the rest 😉
Edit: oh and another pro tip, cameras at the house can also be used to check if you locked the door! 😂