Is there anyway to get back the bitcoins in a locked wallet if I have the file? Someone please help!
What you mean locked, encrypted? Is it a core wallet? (wallet.dat)?
Well in that case, im afraid you are out of luck. The only way to access it, you would need to know the password, there's no other way around it. Even if the passworld was weak, I don't think bruteforcing is a viable option.
There are tools which can help users to bruteforce the password. It would only help if user have at least some idea of the password or always use a well known phrase as the password. The tool is here: