Developing Lagrangian-based Methods for Nonsmooth Nonconvex Optimization