there are a lot of ways to do so... you might dissemble the application which locks the file, read it in assembly, and figure out what kinda encrypting algorithm it's using, and try to decode the file with an inverse algorithm; or, if not inversable, you have to run a dictionary. hackers are not always successful, in other words... rarely successful, I can tell.