How can you make someone forget that he has superpowers and lock his powers?
My question is inspired by the Sanskrit epic of ancient India, Ramayana.
In the story of Ramayana, Hanuman is a well-known character who has immense and amazing powers like super-strength, super-speed, flight, shape-shifting, and size-changing abilities just to name a very few.
Though when the all-powerful Hanuman was a kid, he was a very naughty one, after all, he was just a kid and a monkey (no offense here), and he used to make a lot of trouble for others (he once swallowed the sun, mistakenly assuming it to be a giant fruit, you get the idea !).
A great sage once saw through the issue of a kid having such enormous powers, so he, made him forget that he has these powers. Just making him forget was not enough, because if one is not aware of his powers, but the powers are still there, he may playfully punch someone and end up killing him. So, he had to lock down his powers too. And later in his life, when he was required to use his powers, another sage unlocked his powers and made him remember that he had those.
So my question is:
How can you make someone forget that he has superpowers and lock his powers within him and then revert it all back.
Magic is not allowed (Sages were scientists, not magicians), however really advance unbelievable science is OK.
The process of locking and unlocking should not take much time 2-3 hours maybe.
The process must be complex enough that not any normal person can do this, it must require someone trained.
It is preferred not to use any external object, talisman or machine, but if its portable and can be fitted in a pouch, its OK.
Hypnosis can be a possible solution, any other solution is acceptable.