nine/vertexbuffer: support multiple locks