Is it possible to lock a function?

Is it possible to lock a function?

Hello,
I am modeling a system for my company's accounting, but while I am in the testing period of the system I would like to lock certain functions so that only I can execute it, until it is finished.

Is this possible?