F5 or Five Flashes occur when there is a problem with the spray arms.
Remove the spray arms and rinse them out thoroughly. Make sure to remove any debris and/or mineral scaling, if any. As long as you do, run a quick cycle without the arms to ensure there are no blockages. .
Other Samsung dishwasher error code: