Lock problems can be caused by a variety of reasons, from dirt accumulating in the lock to improperly installed lock parts. Try cleaning the lock hole and check if the lock is installed correctly. If this does not help, the lock may need to be replaced. A professional locksmith can help solve the problem quickly.