A latch that needs two pulls, will not release, or releases on its own is usually worn rather than misadjusted. The latch and the striker wear against each other, so check both: replacing the latch while the striker plate is worn out simply moves the problem. Lock actuators are a separate part and fail differently.