By default, if you resize a frame, its children frames will resize/move according to the 4 pins. But sometimes you just want to resize the parent frame, e.g. when adjusting the padding.
Solution: hold CMD while dragging the frame.
PS: If you find this tip difficult to understand, check out this course I prepared for you, where concepts are explained in a more digestible way. No programming experience required!