https://windowmedicsottawa.blogspot.com/2022/06/how-to-repair-a-sliding-glass-patio-door-quickly.html

You can clean the tracks with a mild, homemade solution of baking soda and water, or by spraying them with a solution of dishwashing detergent and warm water. If the tracks are corroded and the door won’t unlock, simply remove and clean them to reset the mechanism.