add lock warnings and automatic npc starting