Change Scale of an object without changing its position?

As in title, is there any way to change object’s scale, but it kinda centered and it doesnt change its x position or something?

something? when you scaling an object, it isn’t change its position (X and Y coordinatae). but the origin point is its top left corner by default, as you read in the Wiki. maybe if you modify the origin point and put it to the center, your object doesn’t change its X position or something.