Would your mortgage company know if there is a lien on your house?

Yes, if they contact your local government office.