If you want to keep your home through the bankruptcy process, you'll have to keep making mortgage payments. What those payments will look like and whether any junior liens can be discharged depend on the type of bankruptcy and mortgages in your case.