I want to calculate least cost path between two points A and B using a DEM from which I got my slope, cost distance and back link raster. However, the resulted least cost path crosses through two lakes and I don't want that. I want them to be constraints, so the line should find another way to the destination point.
I created two shapefiles for the lakes, but how do I make the least cost tool take them into consideration?