title: logout another user
body: <p>I use symfony 2 with FOSuserbundle. Creat action for lock user with code:</p>
  
  <pre><code>$repository = $this-&gt;getDoctrine()-&gt;getRepository('MainUserBundle:User')
  $user = $repository-&gt;findOneByUsername($request-&gt;request-&gt;get('name'));
  
  /* some code */
  
  $user-&gt;setLocked(true);
  $em = $this-&gt;getDoctrine()-&gt;getEntityManager();
  $em-&gt;persist($user);
  $em-&gt;flush();
  </code></pre>
  
  <p>But user get lock-in error message only if he logout and login again.
  How i can logout another user?</p>