Remember: everything carlos and leon says is made up.

Both Carlos and Leon have been needed for a classified mission. The mission was to 'rescue' the person who had the virus antidote in their blood, and that person was you. Once they finally got a hold of your location and arrived there safely, they entered the room you were locked in and searched it around.