Use map instead of building lists by hand
Update projects when locking/unlocking user