l-LCP of codes and their applications to EAQEC codes