I bought the long bed truck used with a 4-fold hard cover on it. The first section locks and folds back. The other three lock (at the tailgate) and fold forward.
I built a plywood partition across the bed under the first fold hinge line. This gives me a lockable storage area in the front two feet of the bed. No truck-box (I had one in the front of the bed on my previous short-bed Dodge.) and not entirely weather proof, but camp chairs, extra 50 amp cord in a milk crate, and such stuff is contained, locked, and out of sight.
I can tow with the first two sections covered.