I have question on where to find ,( I don’t know how to describe what I want to ask). When I was apprentice I learned how build, assemble, and mount cabinets ,panels, QMB cabinets etc. Learned what were j-box, short and longs nipple and all aspects Learning constructions jobs. Well yesterday I when with engineer to see the work being done on a traffic lighting control box and I the electrician said the inspector make him put locknut on each side of panel. There were the main breaker panel and a nipple to the main disconnect. Nipple was 6-8 ins. Now my question is there a book that how do things like this? Put a locknut on inside of panel and on the outside. Is it code if so where do I find it.