You will not be able to sell your house until you’ve made alternative arrangements with your lender to provide them with additional security to support your second loan, so they can release their interest in the home you wish to sell.  By the time you move, you may have sufficient equity in your investment property to not need additional security, or you may have other investments or property you can offer as security so your original mortgage can be released.