Lock Tab Function

What is the purpose of the lock tab on the shape tab next to the height and width numbers.

The lock button locks the aspect ratio. So if you change the height, it will change the width by the correct proportion so that your shape doesn’t get deformed.