Lock pixels when accessing the texture
Relock surface when filling it