added lock and unlock in riemann scene.....