Whatever be the reason for the malfunctioning of the lock, it needs to be replaced, lest it jeopardizes the safety of the car or its accessories. It better to be safe than sorry. So, if you are experiencing lock problems, get it replaced with the help of a locksmith or do it yourself.