lock resources