Added constructors to poly_lock