My 2002 had the front generator. The bay door has four latches and four actuators. One of the actuators was not moving much so the door didn't like to open without some persuasion. Thought maybe the actuator needed to be replaced. I struggled find a similar one as these have a lever arm rather than the extending rod like the other bays. Then I decided to see if it could be taken apart and fixed. It came apart easily and just needed the sticky grease cleaned out of the gears and then a light lube. Seems to work fine now.
If you are looking for this type of lock actuator do a search on "front door lock actuator for hyundai elantra 1996 1997 1998 1999 2000".
Good to know those can be disassembled and cleaned.