editor: Allow to lock toolbars.

Also, the lock status of the toolbars is saved.

Signed-off-by: Guillaume Clement <gclement@baobob.org>