When our girls were small, we had two of these
Bed RailsWe placed a dinette cushion on the floor beside the bunk "just in case".
The DH used a couple of small screws to keep them in place. When the girls got older and these were not needed, we just unscrewed them from the bed and took them down.
2017 Ford F350 Crew Cab 6.7L 4x4 DRW