The actor with the most competitive Olivier Awards for acting is Mark Rylance, with four wins:
Important distinction: Dame Maggie Smith holds six Oliviers total, but two are non-competitive: Society of London Theatre Special Award (2010) and Special Award (1976). Her four competitive wins are for Private Lives (1973), Night and Day (1979), Virginia (1981), A German Life (2020).
If counting all Oliviers including special honors, Smith leads. For competitive acting wins alone, Rylance leads.