So I've got the waypoint system working now, and my problem is that I need to disable certain waypoints based on the story.

But the Call "LockWaypoint" doesn't seem to be working.

I assume it does work since it's used in D:OS here:
Code
IF
CharacterEvent(CHARACTER_LUC_M_Leandra,"EndOfFight")
THEN
CharacterPlayEffect(CHARACTER_LUC_M_Leandra,"FX_GP_TeleportSmoke_A");
TimerLaunch("LUC_M_LeandraResurrect6",500);
TriggerCreatePuddle(TRIGGER_LUC_M_LavaSeed1,"Lava",8000,8000,20,40,0.1);
TriggerCreatePuddle(TRIGGER_LUC_M_LavaSeed2,"Lava",6000,6000,20,40,0.1);
TriggerCreatePuddle(TRIGGER_LUC_M_LavaSeed3,"Lava",5000,5000,20,40,0.1);
TriggerCreatePuddle(TRIGGER_LUC_M_LavaSeed4,"Lava",5000,5000,10,20,0.1);
TriggerCreatePuddle(TRIGGER_LUC_M_LavaSeed5,"Lava",5000,5000,10,20,0.1);
TriggerSetAtmosphere("2b37489f-2b08-4c19-b737-1aab885554fe","Mine_Fallingdust_CamFX");
QuestClose("LUC_M_CaveIn");
QuestClose("LUC_MineFuse");
QuestClose("LUC_M_RogueDK");
LockWaypoint("WAYP_Luculla_Mines");
LockWaypoint("WAYP_Luculla_Mines2");
ItemSetCanInteract(ITEM_WAYP_Luculla_Mines,0);
ItemSetCanInteract(ITEM_WAYP_Luculla_Mines2,0);


Even when I use LockWaypoint I'm still able to teleport to those waypoints via the homestead button

Any ideas? Missing something?