Real working locks

Reverted the PI controller to version 00. Found locking parameters for
each lock