lock properties