Added get/set Lockedtime in databaseMangager