The pause recording function is available as of OBS 24.x. It's the small button with the 2 vertical lines that that is split from the "Start recording" button, as soon as you start recording.
Upgrade, if you are running some older OBS version. Additionally, you must not set "Use stream encoder" as encoder in your recording settings but some other encoder.