This is a method of the IDirect3dExecuteBuffer Interface.
public void lock(D3dExecuteBufferDesc Desc);