Your primary focus is on the Lock( ) method. Instead of locking the entire buffer, I wanted to lock a section of the buffer where the vertex is to be added. So, I tried to lock the buffer. However, I not sure if the call is valid.
Simply put, I was trying to to was lock n-bytes of data at the specified offset. Have I done this correctly?