Original: Just as Leporello is about to slip through the door, which he has difficulty finding, Zerlina and Masetto open it and, seeing him dressed as Giovanni, catch him before he can escape.
Simplified: Zerlina and Masetto open the door and catch Leporello.