To remove the latch, take out the two screws that hold it into the edge of the door. These are wood screws and they’ll be fairly short. Once they’re out, slide the lock straight out.