title: Laravel lock table on databse until update finish
body: <p>I have some important table on database such as <code>payment_settings</code> and I must be lock this table when we update columns finished, now I want to use <code>lockForUpdate()</code> for this table, is correct below code? :</p>
  
  <pre><code>$ps = DB::table('payment_settings')-&gt;lockForUpdate()-&gt;first();
  </code></pre>
  
  <p>is this way correct? lock table until finish update? this action is very important for my customers.</p>