To lock a seat-back upright, push it backwards until it locks.
Make sure that the folded seat-back does not press against the front passenger seat, as this can cause the weight sensors in the front passenger seat to work improperly.
Also make sure all items in the trunk or items extending through the opening into the rear seats are properly secured. Loose items can fly forward if you have to brake hard.