Using your knife, cut a gap between the door's crack and the doorframe that is exactly the same height as the doorknob. Look at the door until you detect a piece of metal sticking out of it. The latch should have a springy sensation to it. Cut the latch with your knife and insert it into the door.