Lock files in TFS from Ax 2012.

Hi All,

I just want to lock the files in tfs2010 from ax 2012. Could any one of you please suggest me a way how to do that?

Even small hint would help me alot.

Thank you in advance.