Tree lock was implemented.