Giovanni Mascellani : mfplat: Do not mark the buffer as locked if Lock2D() fails.