Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- Root composer.json requires php ^8.0|^8.1 but your php version (7.4.33) does not satisfy that requirement.
Problem 2
- nextcloud/ocp is locked to version dev-master and an update of this package was not requested.
- nextcloud/ocp dev-master requires php ~8.0 || ~8.1 || ~8.2 -> your php version (7.4.33) does not satisfy that requirement.
Problem 3
- nextcloud/ocp dev-master requires php ~8.0 || ~8.1 || ~8.2 -> your php version (7.4.33) does not satisfy that requirement.
- nextcloud/ocp 28.0.0.x-dev is an alias of nextcloud/ocp dev-master and thus requires it to be installed too.
- nextcloud/ocp is locked to version 28.0.0.x-dev and an update of this package was not requested.