A junior mortgage is one that is subordinate to at least one other mortgage. A common example would be a home improvement loan.
Example: You want to put a swimming pool in your yard, but you have a good rate on your mortgage and do not want to refinance. Instead, you borrow money to build the pool and give a second mortgage to the lender. This second mortgage is called a junior mortgage, also called a junior lien.