LOCK-UP AGREEMENT AND AMENDMENT TO LOAN AND SECURITIES PURCHASE AGREEMENT