Minor fixes about coding standard

Some fonctions were missing (why open a locker if you don't put your stuff in it?).