Force-unlock option

The “database is locked” indicates that sometimes you are not exiting Gramps properly. (Such as launching the Console version of Gramps and closing the console window instead of the Gramps window. Or you killed the Gramps task with the Task Manager… or had a crash.) The following thread describes the unlocking process: