How much of a project is it to make it a masthead lock?

And would it make a significant difference in sail handling and performance?