On Weak Convergence of Locally Periodic Functions