Add locks plugin