Exhibit 10.6 REGISTRATION RIGHTS AND LOCK-UP AGREEMENT Dated as of October 27, 1997