How to Disable Moving, Docking and Customizing of Toolbars
In order to disable runtime changes to a toolbar, set its AllowCustomizing and AllowQuickCustomizing properties to False.
To disable toolbar docking to a dock control, use the toolbar’s NotDocking property. If NotDocking includes dsNone, the floating toolbar cannot be moved.
The following code disables moving, changing, and docking of a toolbar.