You probably don't need to replace any parts if you learn how to properly adjust your Trimark door lock. (See attached .pdf for instructions.)
Then read this thread for more information:
https://www.irv2.com/forums/f258/tri...le-479375.html
And this thread...
https://www.winnieowners.com/forums/...re-330834.html
And regarding the Keyless Entry System (KES) picture you posted, that control box you found mounted to the back panel (accessed by opening your fuse box door) is made by SCS-Frigette and it's junk. Plus the company is out of business, but the frequency drift was so bad you really don't want to try to fix it by replacing the fob.
...But you can upgrade to a new KES that is very reliable and comes with 2 fobs for less than $25 on Amazon or Ebay.
You will also need a few relays and fuses so the total cost to get your KES working about is about $50; and you love having your fob operational again!
For more information on how to remove the wire harness from your old SCS control box and re-wire your auto locking system, you just need to go to this thread... and there you will find a
wire conversion diagram I created that will make this upgrade easy!
https://www.winnieowners.com/forums/...re-330834.html
Note: The good news is that your front door and cargo door plungers are all in good shape, because chance are your SCS-Frigette system probably has not worked for over 10 years. So don't take your door apart if you don't have too!
As for calling Trimark... don't bother. They will give you bad information and their customer support is run by a few sour grapes. However, their technical support is nice and knowledgeable if you ever need to talk to them.
Trimark customer service will try to up-sell you on their wire harness conversion and new Trimark control box for ~$400 in parts only; and then you will pay $200- $250 in labor; or you can learn how to do it yourself for $50.
All you need to do is buy the Avital 300xl locking system on Amazon and pickup some extra relays and fuses. Then follow the detailed instructions I provide in the above threads to use your existing wire harness.
Note: I also elected to install a siren that Winnebago conveniently left out and now if I push the "panic" button on the fob the siren will go off. Note: This is not the same as the chirping sounds you are familiar with a car. (That's another horn, but you don't need this since you can hear the door plunger lock.)
The siren is also useful to scare away skunks that happen by your campsite, and it will also will give you peace of mind if you ever spend the night in a Wallmart parking lot and you think you hear something outside your coach and need to sound the alarm.
ANOTHER TIP: I found LED lights place under your coach are a good deterrent for mice and unwanted guests too! Just run a 40' strand of LED Rope Lights under your coach and zip tie as necessary... and then cut a hole in the back wall of your inverter bay... where you can then access the switch power outlet your engine uses for the block heater.
You can also use a mechanical, 24 hour timer that flashes the LED light every 30 minutes all night long for added effect if you want; and since the engine block heater switch is conveniently mounted inside the RV, you can easily switch the LED lights on-and-off when you want to scare off those unwanted critters too.
In summary: If you have a little handyman experience and the desire to get your KES working again; the Trimark door adjustments are almost sure to fix your intermittent door locking problems. And with some determination to learn about KES systems, because their manuals are so poorly written, you too can follow the wire conversion chart and in 4 hours you should be able to fix your KES yourself for $50... and $75 if you want to add a siren to make the panic button functional.
...And as always, I highly recommend you hide a spare set of keys outside your RV for those times when you lock yourself out by mistake.