Dissociative amnesia is a type of dementia that is different from amnesia. Normally this type of amnesia is a subconscious attempt to bury painful memories (which also accidentally bury other memories). Thing is those memories are not lost forever but are deeply hidden though events may flash periodically especially if there are triggers.