It is not possible to lock all columns using the user interface. The unlocked side must always contain at least one column.
This illustrates configuring the lockable grid with a non-default layout. The two grids below are managed by a border layout.
Note that the js is not minified so it is readable. See locking-grp-summary-grp-hdrs-grid.js.