Hearts manager Gary Locke believes Jamie Hamill will accept a pay cut to stay at the financially-troubled club.