Since pathfinder is a balanced game, there's this mechanic called "confirming criticals" where you have to roll again to see if you actually get a crit
Oh, and if you're adjacent to an enemy and attempt to move or do any action not involving attacking/defending, they get what's known as an "attack of opportunity"