Finished function IP lock
Merge pull request #6 from adrienmathaly/ip-lock

Finished function IP lock