Mistake, the legs of the dishwasher still stand on the floor and the flooring lies in front of it.
But then you can tilt it and lift it over the threshold. Depending on the dishwasher and countertop height, unscrewing it can create about 10 cm of clearance upwards.
I would rather make sure that the baseboard fits over the laminate without trimming and does not have to be built in front of it. So screw the feet a little higher and lay the floor up to it, otherwise you can only remove the baseboard if the floor is missing as well.