Make IsArmed boolean state, and check if value is true if mine suppose to explode, if not don’t explode the mine.
Now set IsArmed whatever way you want, either by delay on BeginPlay or check if player overlap the the mine BeginPlay if it does wait until player overlap end event to arm the mine, if does not arm right away.