The biggest factor when comparing Dota to League of Legends is the fact there isn’t a direct deny in LoL as compared to Dota. There are ways to deny xp and gold in lane on league of legends though! This is a more advanced step, so if you just started the game, try to practice this as much as possible as it can lead to huge lane gains.
How do you deny in league of legends? Well first thing you need is a solid laning composition. A support/tank and a ranged AD champion bottom is always a solid choice and will make for some dominating lanes. So, to deny the enemy you keep the minions in the middle of the lane, aka in front of river. You ONLY last hit, or else the lane will push to the enemy’s turret. Try to dish out more damage then you take or the enemy laning opponents may just deny you instead.
So last hit only, have your support or tank, if bottom lane, harass nonstop while you last hit first, and harass second. This will push the opponents back and if you stand in between the minions and the enemy you will be able to deny them the XP and last hits.
Watch this video on Denying and Zoning and it should help improve your game a lot!