A computer trapdoor is another word for a backdoor. Trapdoors can be created for various reasons, both legal and illegal.
In its essence, trapdoors or backdoors provide secret and, in some cases, undocumented access to an online service, operating system, or application. The use of trapdoors may vary from simple troubleshooting to illegal access.