Your using this type of ladder guard ?
Ive seen a a pair installed on each side of the ladder to keep it out.
Another solution could be to use the ladder hinges meant for auto covers that lift the ladder out of the pool when the cover closes. You could lift the ladder out when not in use
https://www.royalswimmingpools.com/ladder-hinges-apc-pair.html