Lot size
One standard lot is a fixed contract size set by the broker. A mini lot is 0.10 and a micro lot is 0.01 of that size.
Margin and leverage
With 1:100 leverage the broker holds 1% of the position's value as margin. With 1:500 it holds 0.2%. The position, and the money each price move costs you, is the same in both cases.
Leverage becomes dangerous when it lets you open positions far larger than your risk plan allows. The danger is the size, not the ratio.