Borrowers with a criminal record may have difficulty obtaining a mortgage.