You can find lock boxes containing gold bars at various locations in Red Dead Redemption 2. Examples include the sheriff's building in Limpany, a charred building at Braithewaite Manor (accessible after Chapter 4), and inside the wrecked train car near Cotorra Springs.