property Items.LockItem(Item as HITEM) as LockItemEnum
Enables setting or getting the item's lock state - pinning it to the top, bottom, or allowing it to scroll.

TypeDescription
Item as HITEM A long expression that indicates the item's handle.
LockItemEnum A LockItemEnum expression that defines the item's lock state
By default, the LockItem property is exUnlock, which indicates that the item is not locked and scrolls with the content. A locked item is always displayed at the top or bottom of the control, regardless of scrolling. The LockItem property gets or sets the lock state of the item, indicating whether it is locked at the top, bottom, or scrollable. The LockedItemCount property specifies the number of items fixed on the top or bottom side of the control. Use the LockedItem property to access a locked item by its position. Use the ShowLockedItems property to show or hide the locked items. The IsItemLocked property checks whether a specific item is locked.

For instance, 

The following screenshot shows a bottom-locked item that displays the total value of the Freight column: