This can be used to block players placing build part and change be toggled using the ServerDisableBuildPlacement event.

Create a new variable in the BP_PlayerBuildingComponent called DisableBuildPlacement and set its type to Boolean then copy the image below. You will need to create the ServerDisableBuildPlacement event set it to RunOnServer and tick Reliable and add a new Boolean input and call it Disable.