In fact, I would argue that these examples might not even involve your memory, because you didn't pay attention to where you put your keys in the first place.
Eu chegaria a dizer que esses exemplos talvez nem envolvam a memória, já que provavelmente vocês nem prestaram atenção onde colocaram as chaves.