Changing your Instagram password does log everyone out. When you change your Instagram password, you're automatically logged out of all other devices besides the one you're using. Therefore, if someone is logged into your account, they'll be logged out. Your password should be difficult for others to guess.