Autonomic locks