If you‘re transiting in Amsterdam on the way to Krakow, then obviously you have to go through passport control since you are entering the Schengen area. No need for a further security check though.
Can‘t remember as to whether UK passport holders are able to use the machines at present in Schiphol. If not then there‘s the risk of arriving at the same time as numerous flights from China / India and being stuck in a massive queue. I live in Germany and transit through Amsterdam quite often, but have the benefit of holding both a German and a UK passport.