Adding user defined portfolio locking.
Merge pull request #4 from fellowapeman/custom_locking

Merge: Adding user defined portfolio locking.