There is no "lock box" or separate account.
1968
https://www.ssa.gov/history/BudgetTreatment.html
In early 1968 President Lyndon Johnson made a change in the budget presentation by including Social Security and all other trust funds in a”unified budget.” This is likewise sometimes described by saying that Social Security was placed “on-budget.”