Gleidson,
GDI+ in most cases keeps the file open - even when you say it should not - and thus we added a property (pbLoadImageFromUCharArray) to handle the image differently. This is also documented.
Before you change your code; there is a drawback; the speed for loading increases so if you don't need it don't use it.