1. Normal wear and tear
2. Suffer from excessive external impact
3. Contaminated by dirt causing stuck
Suggest to visit workshop after discovered the issue. The problem need to be identified and resolved by a professional. Replace door sensor, some car models the door sensor is integrated with the door lock, need to replace the door lock assembly.