It seems to me that you should get familiar with ns-3 and 5G-LENA first. You can search for previous WNS3 workshop tutorials on ns-3 and 5G-LENA. To understand 5G-LENA, it is necessary at least some basic knowledge of ns-3. Please look into the tutorial for ns-3 from previous WNS3 workshops. Once you are familiar with ns-3 you can start with the NR tutorial for the 5G-LENA simulator available here:
https://cttc-lena.gitlab.io/nr/cttc-nr-demo-tutorial.pdf.
Once you do this, and you are able to install correctly ns-3 and 5G-LENA, run examples, log/trace, you can start to tweak PDCP layer, and implement some improvements.