Green’s Dictionary of Slang

frock n.2

(UK juv.) a euph. substitute for fuck n. in various contexts.

[US]S. King It (1987) 706: I don’t know what the frock Haystack’s up to down there. [Ibid.] 823: They wouldn’t see a frockin thing.
OnLine Dict. of Playground Sl. 🌐 frock! n. Substitute word used in place of ‘fuck ’ as in ‘What the frock was that?’.