adding some lock() / unlock() bitmapdata's calls