Dont see why that would affect the door locking
Thats only a locator/guide and is purely mechanical, there are two screws holding the whole piece in, remove those and the complete thing will pull out
Be careful when replacing it as VW have supposedly tweaked the part, if you replace one half with new then you are supposed to swap both units (frame and door) unless you can get one that has same part number as your original ?