Boundary of a locally closed subset