Sql Server conditional within a condition : I want to say

'Where the first 2 letters are not 10 and for those that do start with 10 only exclude the ones from 2018 onward'



 where (left(c.DealCode, 2) <> '10'
						 and estyear > 2018)


Does not work.. What am I missing ? 
