add lock capability