Some examples would be
Spiderman: Peter Parker works as a Photographer but not even his aunt knows about his other identity until later.
Mr. Robot (TV Series): Elliot/Mr. Robot the one who is the mastermind of most of the hacks but the society(not f) is unaware of it.
Superman: He works for The Daily Planet in The Animated Series.
Black Mirror (Hated in the Nation): The hacker is all alone and doesn't reveal in person.
Batman: Bruce Wayne but only a few know about his other identity.
Death Note: Light Yagami is not known by the World until the end.
Is there a general term for these types of characters or movies?