Added case of path exists but is locked to location lock logic