Unlocks the D3DImage Can only be called while locked. If you have dirtied the image with AddDirtyRect, Unlocking will trigger us to copy the dirty regions from the back buffer to the front buffer. While this is taking place, Lock will block. To avoid locking indefinitely, use TryLock.