Did you know ... Search Documentation:
object->lock_object