DB::transaction(function () { echo 1; User::where('id', 33)->lockForUpdate()->get(); echo 2; sleep(10);});