I enabled some topography restrictions, but nothing happened after I simulated the design.

Please make sure to enable the “Remove structures that exceed your limits” button found in the “Topography” tab under “Structures”.