unlock() allows accelerator entries to be altered, added to or removed from a previously locked GtkAccelGroup.
To allow a secondary key in a GtkAccelEntry to be designated by the user, use unlock_accelerators() .